Confirming a strong encryption code

Donald Symmons 3,066 Reputation points
2022-12-20T09:12:31.283+00:00

Hello Forum,

May I please ask if I encrypt the <connectionStrings> and <machineKey> sections of the Web.config file, will a hosted server automatically decrypt them when it processes the file?
Because I read that ASP.NET automatically decrypts the contents of the Web.config file when it processes the file. What I do not know is if hosted on a web server, if it will automatically be decrypted.

Windows development Internet Information Services
Windows development Windows API - Win32
Windows for business Windows Server Devices and deployment Configure application groups
Developer technologies ASP.NET Other
{count} votes

Accepted answer
  1. Limitless Technology 44,746 Reputation points
    2022-12-21T10:05:04.75+00:00

    Hi,

    Thank you for posting your query.

    Kindly follow the steps provided below to resolve your issue.

    The most effective way to protect ECU software from reverse engineering is code encryption. If the communications between MCUs and external memory is encrypted, attackers cannot understand or successfully tamper with code and data without knowing the encryption key. However, encrypted software cannot be directly interpreted by MCUs. On-the-fly decryption enables MCUs to execute its program from the encrypted code.

    Go to this link for your reference and other troubleshooting procedures https://www.sciencedirect.com/topics/computer-science/code-encryption

    Note: This is a non-Microsoft website kindly take precautions when downloading anything.

    Do not hesitate to message us if you need further assistance.

    If the answer is helpful kindly click "Accept as Answer" and up vote it.

    0 comments No comments

1 additional answer

Sort by: Most helpful
  1. Bruce (SqlWork.com) 77,686 Reputation points Volunteer Moderator
    2022-12-20T17:25:39.197+00:00
    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.