IIS 7 & IIS 8
encrypt web.config identity
Last post Apr 11, 2012 10:23 PM by pjhanson
Mar 13, 2012 09:20 PM|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 05:11 PM|LINK
Mar 18, 2012 03:37 PM|LINK
Apr 11, 2012 10:23 PM|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.