For Security reasons we need to encrypt the connection strings.
How to Encrypt a connection string:
- Open visual studio command prompt.
- Change your command prompt location and should point to your application physical drive
- Assume your application Name is DataSet and is present in c:\Documents and Settings\Administrator\My Documents
- type the below statements and then press enter to encrypt the connection
- aspnet_regiis -pe "connectionStrings" -app "/DataSet"
How to Decrypt Connection:
- Type the below command and press enter
- aspnet_regiis -pd "connectionStrings" -app "/DataSet"
Note : See the below attached screen shot.
No comments:
Post a Comment