Decrypt a configuration section by specifying a virtual directory. : Encrypt « Configuration « ASP.NET Tutorial






The following command uses the -pd option with the -app option:

aspnet_regiis -pd connectionStrings -app /MyApp








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