如何使用加密的web.config运行asp.net应用程序,是否可能注意到ASP.NET应用程序的数据库具有加密的连接字符串并且生成了“无法读取连接字符串”消息
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.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.