IIS 7 and Above
encrypt web.config identity
Last post Apr 11, 2012 06:23 PM by pjhanson
Mar 13, 2012 05:20 PM|pjhanson|LINK
I have a web.config that contains three "identities" of only which one is listed under system.web.
Running the following command successfully encrypts the top most identity listed under system.web
aspnet_regiis -pef "system.web/identity" "C:\Inetpub\websitedirectory" -prov "CustomProvider"
However this leaves the remaining identities in clear text. I've tried running the following but it didn't worked either.
aspnet_regiis -pe system.web/identity -app /[vdir] -location [IdentityName] -prov "CustomProvider"
The layout of these last two identities are similiar to the example below.
<identity impersonate="true" userName="<user>" password="<password>"/>
Anyone know how can I encrypt these last two identities?
Mar 16, 2012 01:11 PM|pjhanson|LINK
Mar 18, 2012 11:37 AM|Laurent Jordi|LINK
Apr 11, 2012 06:23 PM|pjhanson|LINK
Thank you! My Google-Fu wasn't returning anything along those lines. Your suggestion brought me to a Microsoft KB article:
Since "ServerName\Users" have read access to the registry keys I didn't have to modify any permissions.