Thursday, September 27, 2007

Encrypting & Decrypting Connection string at webconfig

Encrypting Connection string

 

Enter the userid & password in the connection string section of the Web.Config file. The connection string property can be encrypted using the following command:

 

Example:

aspnet_regiis.exe –pef “connectionStrings” “D:\Services” –prov “DataProtectionConfigurationProvider”

 

The aspnet_regiis.exe command can be found in the %WINDOWDIR%\Micorsoft.Net\Framework\version directory. The command can also be run directly if the dos prompt is opened from the Visual Studio SDK.

 

Decrypting Connection string

 

To change the userid or password, the connection string can be decrypted using the following command:

 

Example:

aspnet_regiis.exe –pdf “connectionStrings” “D:\Services”

4 comments:

Anonymous said...

Thanks for finally talking about > "Encrypting & Decrypting Connection string at webconfig" < Loved it!
Feel free to surf my web page ... mobile slot games

yanmaneee said...

balenciaga shoes
yeezy boost 350 v2
off white hoodie
yeezy boost 350 v2
golden goose
moncler outlet
air max 95
stephen curry shoes
jordan shoes
yeezy

retheys said...

replica bags wholesale in divisoria replica hermes bag p0v80e4d72 replica bags in uk view website u0g35y9a60 Ysl replica replica bags in pakistan a6d93m3n29 replica bags ebay gucci fake z5y49k7t01 replica bags paypal

Anonymous said...

supreme
yeezy
bapesta shoes
fear of god outlet
goyard tote bag
jordan shoes
goyard bag
kd shoes
supreme clothing
palm angels