MYSQL PASSWORD in reverse

Discussion in 'PHP' started by onlyican.com, Jan 14, 2006.

  1. #1
    hey

    I am using encryption to store user's passwords.

    I am making a forgot password page, but how do i find there password.
     
    onlyican.com, Jan 14, 2006 IP
  2. mdvaldosta

    mdvaldosta Peon

    Messages:
    4,079
    Likes Received:
    362
    Best Answers:
    0
    Trophy Points:
    0
    #2
    You would want to simply reset their password to something, rather than try to recover theirs.
     
    mdvaldosta, Jan 14, 2006 IP
  3. daboss

    daboss Guest

    Messages:
    2,249
    Likes Received:
    151
    Best Answers:
    0
    Trophy Points:
    0
    #3
    yah. go with mdvaldosta's suggestion... doing it the way you are requesting would require a two-way encryption algorithm to encrypt the password... common algorithms like md5 is only one way...
     
    daboss, Jan 14, 2006 IP
  4. onlyican.com

    onlyican.com Peon

    Messages:
    206
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    0
    #4
    I would like to recover

    The way i was gonna do it, was to ask for the name, email and username, then ask them to choose a new password.

    BUT

    Anyone can do that.

    Unless i get a new password choosen automaticly, send that to them via email.

    SO how do i get an automated password picker.
     
    onlyican.com, Jan 14, 2006 IP
  5. T0PS3O

    T0PS3O Feel Good PLC

    Messages:
    13,219
    Likes Received:
    777
    Best Answers:
    0
    Trophy Points:
    0
    #5
    By Googling and downloading.

    Replacing is the safest thing to do. That way, only the e-mail account holder ever gets to see the new password. Secret questions are a load of BS as well (though they did help me recover my phpclasses.org password yesterday).
     
    T0PS3O, Jan 14, 2006 IP
    onlyican.com likes this.
  6. onlyican.com

    onlyican.com Peon

    Messages:
    206
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    0
    #6
    I don't remember any of my secret questions.

    I will google that, I just did not know the words to google.

    Thank you.
     
    onlyican.com, Jan 14, 2006 IP
  7. onlyican.com

    onlyican.com Peon

    Messages:
    206
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    0
    #7
    Got a password generator, Much better, and it forces me to build a users control panel, so they can change it.

    Many thanks
    T0PS3O
     
    onlyican.com, Jan 14, 2006 IP