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
精彩评论