本文介绍了webconfig中连接字符串中的数据库用户ID和密码的加密的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,

我已经在在ASP.NET 2.0中Web.config内部的连接字符串的加密中检查了webconfig中的连接字符串的加密. [ ^ ]

现在我的问题是,当我检查此代码时,它会完美加密连接字符串. Web配置文件显示密文,这就是我想要的.
但是当我通过IIS检查CONFIGURATION时,它以可读格式显示了整个连接字符串.

任何人都可以帮助我加密存储在连接字符串中的密码进行加密,即使我们通过Inet Manager查看该密码也是如此.

在此先感谢

Gaurav

Hi Everybody,

I have check the Encryption of COnnection String in webconfig available at Encryption of Connection Strings Inside the Web.config in ASP.NET 2.0 [^]

Now my problem is, when I check this code,it encrypts the connection string perfectly. the web config file shows cipher text which is what I was looking for.
BUT when I check the CONFIGURATION through IIS it shows the whole connection string in a readable format.

Can anyone help me in encrypting Password stored in the connection string to encrypt even if we view it through Inet Manager.

Thanks in advance

Gaurav

推荐答案


这篇关于webconfig中连接字符串中的数据库用户ID和密码的加密的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

10-22 16:55