1

I would like to have a custom configuration section encrypted and in a separate file.

Using aspnet_regiis requires some extra steps with a custom configuration section (see this question: Using ASPNet_Regiis to encrypt custom configuration section - can you do it?), so it could maybe be more practical if I used a custom program and SectionInformation.ProtectSection.

Is there a difference between using aspnet_regiis.exe and SectionInformation.ProtectSection, or do they both use the same mechanism to encrypt the config file?

Community
  • 1
  • 1
Paolo Tedesco
  • 55,237
  • 33
  • 144
  • 193

0 Answers0