views:

11

answers:

1

Hi there, I have a wpf4 that I am referenced the enterprise library 5. I want to encrypt my connectionstrings and appsettings but I am not 100% sure how to do this.

Can anyone point me in the right direction for encrypting using the entlib5. There seems only to be useful information out there for the version 3.1 & 4.

Any help would be great!

A: 

Encrypting parts of the configuration file is not something that concerns the Enterprise Library. It is a feature of .NET and is transparent for any code reading the configuration file through the .NET configuration API.

You can read more about encrypting configuration files here or use our good old friend.

Steven