Howto encrypt configuration sections using Enterprise Library ?
Hello to everybody,
I need to encrypt the dataConfiguration or connectionStrings section of
the app.config file (using Enterprise Libary January 2006).
On some sources on internet (e.g.:
http://msdn.microsoft.com/msdnmag/issues/05/07/DataPoints/) I have
found that there is the possibility to encrypt connections strings used
by the Enterprise Library Data Applicatin Block.
On that article, it is said that you should use the attribute
encrypt="true" to encrypt a section or the whole file using a symmetric
algorithm. Unfortunately, I'm not able to find the same feature on the
version of Enterprise Library we are using (MS Enterprise Library -
January 2006), so I suppose that the feature has been moved somewhere
Does anybody has an idea of how to encrypt the connection strings
section using the Enterprise Library?
if you use asp.net 2.0, why don't you try to encrypt the connection
string or other sensitive configuration elements with the "aspnet_regiis
you could refer to MSDN: "Encrypting and Decrypting Configuration
Other interesting topics
Need help with DirectorySearcher FILTER using SID.
how to add "Authorization: Basic" for a web service call
Redirect when User is Unauthorized
The remote server returned an error: (403) Forbidden - even with a valid verisign certificate
Do i need to got Https:// throught the website ???
How to decrypt CAPICOM data i .NET 2.0
How do I use windowsIdentity to start a process in .net?
System.Net.WebException: The remote server returned an error: (404) Not Found.
LocalSystem network access problem
SignedCms.ComputeSignature(CmsSigner) - Keyset does not exist