Encrypting connectionStrings section – utility for app.config

You can try the following:

https://magenic.com/thinking/encrypting-configuration-sections-in-net

In short – rename the app.config file to web.config – the schema is identical, so aspnet_regiis works. Rename back to app.config when finished.

Leave a Comment