加密ASP.Net Web.config中的数据库连接字符串 [英] Encrypt database connection string in ASP.Net Web.config

查看:131
本文介绍了加密ASP.Net Web.config中的数据库连接字符串的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我目前正在使用ASP.Net 1.1的Data Protector类对web.config中的db连接字符串进行加密,解密,但是还有什么其他方法可以实现这一点,并且我应该能够提供用于加密和解密的密钥. br/>
预先感谢您提供解决方案.

I am currently encrypting, decrypting db connection string in web.config using Data Protector class of ASP.Net 1.1, But what are the other methods to achieve this and i should be able to provide a Key for encryption and decryption.

Thanks in advance for solutions.

推荐答案

http ://msdn.microsoft.com/zh-CN/library/zhhddkxy.aspx [ ^ ]
http://social.msdn.microsoft.com/论坛/en-US/winforms/thread/d7df8a4d-fc0f-4b62-80c9-7768756456e6 [
http://msdn.microsoft.com/en-us/library/zhhddkxy.aspx[^]
http://social.msdn.microsoft.com/Forums/en-US/winforms/thread/d7df8a4d-fc0f-4b62-80c9-7768756456e6[^]


这篇关于加密ASP.Net Web.config中的数据库连接字符串的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆