We developed an application to edit the web.config settings. The user has to locate the web.config file which they like to edit. Once their task is completed they can download the web.config file with the changes made by them. Since the web.config file has the database server information and passwords I have a concern that will it cause any security problem.
If so how can I rectify it?
We developed an application to edit the web.config settings. The user has to locate
Share
Better encrypt your Connection string….
For ref MSDN article
You can use the following method to secure the the webconfig.
if there exist the following code at web.config.
Then we can use the following code to protect it.
And you can use the following code to Decrypting it.