Last post Mar 05, 2013 10:12 PM by necro_mancer
Mar 05, 2013 08:59 PM|dragular|LINK
Hi Dear all
I want to do encrypt connection in web config file. I found that
1) command prompt type the following command
aspnet_regiis.exe -pef "connectionStrings" "C:\VisualStudio2010\Authorization"
2)Encrypt connectionStrings in web.config of IIS based site
aspnet_regiis.exe -pe "connectionStrings" -app "/SampleWebSite"
I'm not clear when I doing like that "Fail!".
my question is
1) C:\VisualStudio2010\Authorization is should be change or not becoz I install at
2) IIS based when done file not found.
Who can u explain me step by step and clear. Thank you
Mar 05, 2013 10:12 PM|necro_mancer|LINK
I believe it is a bit troublesome if you try to encrypt the web.config conn string. Why don't you just store the connection string on your .cs or .vb file? When you compile your project, these code-behind files will be "converted" to DLL files and no one can
Additionally, if you are using encryption methodology, you have to install the decryption key as well.
Hope this helps! :)