我有一个 ASP.NET 应用程序,需要模拟管理员用户。在 web.config 中:
<identity impersonate="true" userName="administrator" password="password"/>
客户抱怨以明文格式保存密码。有没有办法将密码保存为散列值?
带有适当开关的 aspnet_regiis 应该可以解决问题,请参阅this http://odetocode.com/Blogs/scott/archive/2006/05/30/encrypting-identities-in-web-config.aspx文章。
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)