How to run asp.net application
How to run asp.net application with encrypted web.config ,is it possible note that ASP.NET application have a databas开发者_运维问答e with encrypted connectionstring and a "cannot read connection string " message is generated
Note that you should encrypt the web.config after deployment, not before.
The encryption with aspnet_regiis uses the target machine's Keys.
Use Windows DPAPI encryption. Here's a MS patterns and practices article that walks you through step by step.
精彩评论