using an encrypted web.config file
- by regy
My aim is to make the web.config not readable by external users, but my application should be able to access it. Is there any way to do this???
I have tried the following way, but how to set the application to use string instead of web.config???
I want to encrypt my web.config file so that others do not open the file using any editor like notepad. But my application should be able to use the same web.config file. I could encrypt the web.config file and decrypt it inside the application and I saved the entire web.config to a string file. Now I want to use this string variable instead of web.config(now in encrypted form, which cannot be accessed by the application).