Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Encrypting Web.Config

Tags:

Duplicate of Encrypting config files for deployment .NET and Encrypting config files for deployment


What is the best approach and tools for encrypting information in web.config file?

like image 407
TheVillageIdiot Avatar asked Jul 02 '09 16:07

TheVillageIdiot


1 Answers

Here are the commands to encrypt web.config file without any programming...

For encryption

aspnet_regiis -pef "Section" "Path exluding web.config" 

For Decryption

aspnet_regiis -pdf "Section" "Path exluding web.config" 

From this commands you can encrypt or decrypt all the section.

like image 179
Jalpesh Vadgama Avatar answered Oct 01 '22 09:10

Jalpesh Vadgama