且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

在web.config中写入连接字符串是否安全?

更新时间:2023-02-03 08:32:48

Web.config 是正确的选择.如果您担心,可以加密连接字符串.加密Web.config中的连接字符串,ASP.NET已经支持它,看来您已经知道...

Web.config is the right place for this. You can encrypt the connection string if that's a concern for you. Encrypting the connection string in Web.config it's already supported in ASP.NET and it seems that you already know that...

链接以供参考.