散列密码无法检索。无论设置密码格式不同的类型,或者设置enablePasswordRetrieval为false [英] Hashed passwords cannot be retrieved. Either set the password format to different type, or set enablePasswordRetrieval to false

查看:348
本文介绍了散列密码无法检索。无论设置密码格式不同的类型,或者设置enablePasswordRetrieval为false的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我得到了一些网站,现在我想要得到的密码。

I got some website and now I want to get the passwords.

我使用它:

<add name="AspNetSqlMembershipProvider" type="System.Web.Security.SqlMembershipProvider"
             connectionStringName="TravelChamps" 
enablePasswordRetrieval="true"
             enablePasswordReset="true"
             requiresQuestionAndAnswer="false"
             requiresUniqueEmail="false" maxInvalidPasswordAttempts="5" minRequiredPasswordLength="6" 
             minRequiredNonalphanumericCharacters="0" passwordAttemptWindow="10" applicationName="/"             
             />

和这个错误发生:

配置的设置是无效的:散列密码无法检索。无论设置密码格式不同的类型,或者设置enablePasswordRetrieval为false。

如果我使用它:

<add name="AspNetSqlMembershipProvider" type="System.Web.Security.SqlMembershipProvider"
             connectionStringName="TravelChamps" enablePasswordRetrieval="false"
             enablePasswordReset="true"
             requiresQuestionAndAnswer="false"
             requiresUniqueEmail="false" maxInvalidPasswordAttempts="5" minRequiredPasswordLength="6" 
             minRequiredNonalphanumericCharacters="0" passwordAttemptWindow="10" applicationName="/"             
             />

我得到的follwoing错误:

I get the follwoing error:

发生异常取回您的密码:此成员资格提供程序还没有被配置为支持密码检索

我完全糊涂了。

任何建议,我可以开始解决?

Any suggestion where I can start to work around?

推荐答案

您不能得到密码,因为他们从来没有存储。 (具体以确保没有人可以永远做你想要做什么。)解决办法是不要让密码。

You can't get the passwords because they were never stored. (Specifically to ensure nobody could ever do exactly what you're trying to do.) The workaround is not to get the passwords.

这篇关于散列密码无法检索。无论设置密码格式不同的类型,或者设置enablePasswordRetrieval为false的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆