i AM WORKING WITH ASP.NET 4.5 web forms: I need users to be able to Reset their Password via email (still working on that), Security Question/Answer and using the Forget Password method.
The problem I have is that, in-order to use the Reset/Change password Method, I need to turn the Security Question/Answer to false. So I created a work around by creating a table which stores the Security Question and Answer.
When the user answers correctly, in addition to entering an ID Number, they are landed on the Reset Password page. It all works great, they can reset password and log in.
My problem: I need the reset password page to not be public, is there a way I can utilize the Username, which I can get from the DB when the user answers correctly, to give access to the Reset Page?
Currently anyone can get to this URL. I was also thinking about Enable/Disable controls on the same page rather than a URL.
Thanks for reading my long story.