开发者

encrypt and decrypt connection string in XML file

I want to save my connection string in XML file.How to do th开发者_如何转开发at?How to encrypt and decrypt that file using VB.Net


Have a look at

  • Encrypt/Decrypt Files in VB.NET (Using Rijndael)
  • File Encryption in Microsoft .NET
  • Google : vb.net encrypt file


I think what you're looking for is to encrypt the connectionstrings config section in your applications configuration file, if that's correct then take a look at this:

How To: Encrypt Configuration Sections in ASP.NET 2.0 Using DPAPI

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜