Subject | RE: [firebird-support] Membership provider, hash passwords, login |
---|---|
Author | Vasilis .. |
Post date | 2012-09-17T18:56:40Z |
Thanks Paul, it worked! To: firebird-support@yahoogroups.com
From: paul.mercea@...
Date: Mon, 17 Sep 2012 21:50:02 +0300
Subject: Re: [firebird-support] Membership provider, hash passwords, login
From: paul.mercea@...
Date: Mon, 17 Sep 2012 21:50:02 +0300
Subject: Re: [firebird-support] Membership provider, hash passwords, login
On 2012.09.17 5:45 PM, Vasilis .. wrote:
>
>
>
> Greets, anyone has come up with this problem: In a ASP.NET website i
> develop, using the membership provider and having hashed passwords in
> the database the user cannot login If i change the password storage to
> "clear" the login works fine. Any idea how to solve this or is it a
> known bug? Thanks
>
Hi Vasilis
I had the same problem as you, nobody answered to this problem. Good
news , it's not a bug, just documentation issue.
I found that the algorithm used before .Net 4 was SHA1 and from .Net 4
is SHA256 .
The solution for your trouble is to specify in web.config for membership
to use :
<membership defaultProvider="DefaultMembershipProvider"
hashAlgorithmType="SHA256">
HTH,
Paul
[Non-text portions of this message have been removed]
[Non-text portions of this message have been removed]