Check User ID, Forgot Password and Forgot Answer in ASP.net Membership
1 answer
Are you using the ASP.NET Membership Provider? If so, the system will do this authentication for you, you just need to set the appropriate permissions in each web.config folder on your website. Just make sure the folder containing the login form, registration form, etc. (All content that anonymous users can access, and yes, login requires that since they are anonymous until they are actually logged in) be allowed to anonymous users.
You cannot get a password with hashed passwords as this is encryption (i.e. one-way) and cannot be reversed. The only option with hashed passwords is to enter a new password.
+1
source to share