How to use a hashed password to impersonate ASP.NET

I have an ASP.NET application that requires impersonation as an admin user. In web.config:

<identity impersonate="true" userName="administrator" password="password"/> 

The client complained about saving the password in text format. Is there a way to save the password here as hashed?

+4
source share
1 answer

aspnet_regiis with the appropriate switch should do the trick, see this article.

+3
source

Source: https://habr.com/ru/post/1310964/


All Articles