in

The SoftTeq Community Site

SoftTeq blogs

Alastair Waddell

Encrypting the identity section of Web.config

I have had a couple questions regarding encrypting the identity section of the web.config file, so here’s how.

In my example, I use identity impersonate in my web.config file and the physical path is “c:\sourcecode\BigWebApplication\web.config”

<system.web>
    <identity impersonate="true" userName="Alastair" password="password" />
</system.web>

aspnet_regiis –pef system.web/identity c:\sourcecode\BigWebApplication

and to decrypt

aspnet_regiis –pdf system.web/identity c:\sourcecode\BigWebApplication
Published Oct 05 2006, 09:26 PM by alastair
Attachment: VS2005.JPG

Comments

 

Nick Randolph's .NET Travels said:

Following Alastair's post regarding encrypting sections of a configuration file I ran into a similar...
October 11, 2006 3:00 PM
 

Rodrigo said:

You can use the " aspnet_setreg" to encrypt your <Identity>... take a look at the URL, below:

msdn.microsoft.com/.../72wdk8cc(VS.71).aspx

regards...

Hugs...

January 22, 2010 7:16 AM

Leave a Comment

(required)  
(optional)
(required)  
Add
Copyright SoftTeq 2007-2009
Powered by Community Server (Non-Commercial Edition), by Telligent Systems