Welcome to WebmasterWorld Guest from

Forum Moderators: open

Message Too Old, No Replies

Database table disassociation security - lost password questions

8:48 pm on Oct 25, 2010 (gmt 0)

Senior Member from US 

WebmasterWorld Senior Member jab_creations is a WebmasterWorld Top Contributor of All Time 10+ Year Member

joined:Aug 26, 2004
posts: 3178
votes: 22

I've begun working with somewhat sensitive information being stored in a database and I've figured out that I can use generate a hash for table association on data the user provides (such as their password).

The problem I'm not entirely certain how to deal with is dealing with users who have lost their password. One solution I read was to create a user/hash association elsewhere besides the database. I can think of a couple places such as having it stored in a flat file though that would still be on the server. I could also have an email account created and have the password and user id automatically sent to that email address which could be on a different server.

Thoughts please?

- John
9:21 pm on Oct 26, 2010 (gmt 0)

Senior Member from NZ 

WebmasterWorld Senior Member 10+ Year Member

joined:June 9, 2002
votes: 0

If they lose their password, just give them a screen to enter their email address, then generate and send them a new one. Then give them the opportunity to change it to something friendlier once they've logged back in.

No point storing hashed passwords if you're going to have to put a key under a doormat somewhere.

Join The Conversation

Moderators and Top Contributors

Hot Threads This Week

Featured Threads

Free SEO Tools

Hire Expert Members