摘要: 看了SHY520写的关于Data Access Application Block的文章,写得不错,忽略了一点就是如何去加密数据库连接字符串,这儿我简单的介绍一下。我们知道,在Enterprise Library1.1中加密连接字符串,需要依赖于Cryptography Application Block。.NET Framework2.0中已经内置了这项功能,通过Configuration命名空间下的一些类来完成,支持两种类型的加密: DPAPIProtectedConfigurationProvider:使用Windows Data Protection API (DPAPI) RsaProtectedConfigurationProvider:使用RSA算法 阅读全文
posted @ 2006-06-05 11:49 TerryLee 阅读(9372) 评论(29) 推荐(2) 编辑