Using Encrypted Connection Strings

Topics: General Discussion Forum
May 14, 2007 at 11:18 AM
Is there any way that i can use a encrypted connection Strings when Using WSF.
Developer
May 14, 2007 at 2:56 PM
You can encrypt the connection string using EntLib 3.0 using the configuration tool.
Just load your config file with the connection string to encrypt and click on the "Data Access Application Block" section.
Select a "Protection Provider" (i.e. DataProtectionConfigurationProvider).
Save the changes and now you will have all your connectionstring values encrypted and ready to use from the DAAB functions.

Charly