Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 4028478
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T11:13:31+00:00 2026-05-20T11:13:31+00:00

I need to implement a Forgot Password page, but my passwords are salted &

  • 0

I need to implement a Forgot Password page, but my passwords are salted & hashed. So I can’t retrieve them conventionally. My idea was to do the following:

  • When an user clicks the Forgot
    Password link, they naturally need to
    type in their email address (which is
    also their username).

  • Their password gets reset to a hashed
    & salted password i made. Then, i send
    an email to them which contains a
    link to a new page where they can
    type in their new password.

  • The link contains the new hashed & salted
    password (as a $_GET variable) which
    is just for authentication purposes.

  • I just grab the $_GET variable from the link, authenticate against entry in DB and hash & salt new password and insert into db.

How safe is this? For a site that won’t easily be targeted by spammers and brute force attackers.

Thanks in advance.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-20T11:13:31+00:00Added an answer on May 20, 2026 at 11:13 am

    This sounds fine; for total security on a more frequented site however, a slightly different method would be worth considering:

    • Have the user type in their E-Mail address as usual

    • Populate a second password field with the random password you build and send out

    • Populate an additional column with the date and time the second password was generated

    • If the user doesn’t react (i.e. log in with the new password) within 24 hours, remove the password from the second column

    In the E-Mail with the new password, explain to the user that if they didn’t request the new password, they can just ignore it.

    This way, a third party entering a user’s E-Mail address can’t block a user from their own account by resetting the password completely.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I need to implement validation for a form but by two submit buttons? Can
I want to implement a forgot-password feature in asp.net mvc that allows users to
I need to implement the website visitor count Usercontrol.Can any one help me regarding
I need to implement a scroll view which (on a button press) will page
I need to implement a Diff algorithm in VB.NET to find the changes between
I need to implement version control, even for just the developing I do at
I need to implement a 4-to-1 function in Veriog. The input is 4 bits,
I need to implement auto-capitalization inside of a Telerik RadEditor control on an ASPX
I need to implement an in-memory tuple-of-strings matching feature in C. There will be
We need to implement a simple state machine in C . Is a standard

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.