how to use hashed password in impersonate of ASP.NET

别等时光非礼了梦想. 提交于 2019-12-22 08:20:09

问题


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

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

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


回答1:


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



来源:https://stackoverflow.com/questions/2912903/how-to-use-hashed-password-in-impersonate-of-asp-net

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!