开发者

encrypt and decrypt connection string in XML file

开发者 https://www.devze.com 2022-12-21 18:07 出处:网络
I want to save my connection string in XML file.How to do th开发者_如何转开发at?How to encrypt and decrypt that file using VB.NetHave a look at

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

精彩评论

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