In a .NET 4.0 website, which web.config sections can be encrypted?
I read that not all sections can be encrypted, but I can’t find anything detailing which sections can.
In a .NET 4.0 website, which web.config sections can be encrypted? I read that
Share
From the MSDN docs, it’s clear that one can encrypt and decrypt a
web.configsection using theAspnet_regiis.exetool with the–peoption and the name of the configuration element to be encrypted as long as the section is not one of these ones:Here’s what you need to encrypt all other possible sections:
Encrypting and Decrypting Configuration Sections
Walkthrough: Encrypting Configuration Information Using Protected Configuration