简体   繁体   中英

Encrypting connection strings in multiple ASP.NET MVC configuration files?

I am working on an MVC web application which of course has multiple configuration files. My connection string is there in a number of files.

How I can encrypt connection string in all files? Will aspnet_regiis automatically encrypt in all files or just in web.config?

You should check this answer I proposed, it provides some information and useful links for Encryption in configuration files.

https://stackoverflow.com/a/19052327/375304

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.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM