0

Hi Guys,

I'm working on converting an existing site from classic ASP over to .NET. The existing user passwords are MD5-encrypted. I'm trying to figure out if there's a way to import those passwords into the Membership Provider. The salting is what's throwing me off.

The only thing I can think of (which I read on another site) would be to import all the accounts with some standard password. Then when the user first tries to log in, verify their information from the old DB table. If it's good, update their password in the membership provider at that point, then flag their old account as imported so that check isn't done in the future.

Is there an easier way??

PS - Go Pens :)

2
Contributors
2
Replies
3
Views
8 Years
Discussion Span
Last Post by david.1982
0

As you currently have MD5 encrypted user passwords, you can use the membership functions to imports them to membership roles programatically. The build-in classes are Membership, MembershipUser, MembershipProvider, etc.

0

As you currently have MD5 encrypted user passwords, you can use the membership functions to imports them to membership roles programatically. The build-in classes are Membership, MembershipUser, MembershipProvider, etc.

Thanks for the info, I will investigate and test! Can you point me towards a code example for doing that?

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.