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

Leave a Comment

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