Skip to content

Instantly share code, notes, and snippets.

@kmlprtsng
Created August 14, 2013 08:16
Show Gist options
  • Save kmlprtsng/6228956 to your computer and use it in GitHub Desktop.
Save kmlprtsng/6228956 to your computer and use it in GitHub Desktop.
Encrypting Web.config
- Go into the command prompt.
- Run as admin.
- Go to the Framework folder. e.g. Windows\Micorosoft.Net\Framework\v2.0\
- run aspnet_regiis -site "SiteNameInIIS" -app "/" -pe "connectionStrings"
To decrypt replace -pe with -pd
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment