[RESOLVED] [02/03] hiding the AppSettings in web.config file
Hi,
Is there any way to hide or encrypt the web.config AppSettings in asp.net 1.1 applications?
something close to what we do in asp.net 2.0 through: aspnet_regiis.exe -pe ...etc
in the asp.net 1.1 what we basically want to do is hide or encrypt the connectionstring that s stored in an AppSettings element .
Thanks for any suggestions :)
Re: [02/03] hiding the AppSettings in web.config file
For .NET 1.1, you need to encrypt the value manually using CryptoProvider (TripleDES is common), and have the web application decrypt it and store it in the cache on startup.