Encrypt connectionStrings section with the DataProtectionConfigurationProvider : Encrypt « Configuration « ASP.NET Tutorial






aspnet_regiis -pe connectionStrings -app /MyApp -prov ProtectedConfigurationProvider








16.17.Encrypt
16.17.1.Encrypt Config
16.17.2.Encrypting Sections Programmatically
16.17.3.Encrypting Sections with the aspnet_regiis tool
16.17.4.decrypt a configuration section by using the -pdf option.
16.17.5.Decrypt a configuration section by specifying a virtual directory.
16.17.6.Encrypt connectionStrings section with the DataProtectionConfigurationProvider