anyone from MS or some MS MVP? Any improvements for encrypting specific custom section in web.config besides using hack like in Using ASPNet_Regiis to encrypt custom configuration section – can you do it?
Danger of being hacked is very high these days, so be able encrypt config is something which can certainly help improve security.
Anyone info, update welcome.
Thanks, X.
I’ve faced this problem myself today and really struggled to get anywhere with the command line tool aspnet_regiis.exe
I think my main problem is that I had built myself a custom section group, not just a section so the command line tool didn’t really want to play ball.
Instead I wrote a webpage with access restricted to myself with code similar to the following
Hope this helps or at least points you in the right direction 🙂 Decrypting is basically the opposite of above (
.UnprotectSection)