I have an idea for a future video. I created code that locks the user account after 5 unsuccessful attempts. But what if the user could click a link or button if they forgot their password. The program would need to do the following:
1) Verify the user. User would need to enter their username. If the username is valid will lookup their email and send a code for them to enter using the random function. 2) A box would appear requiring the user to enter the code. They would have 3 attempts to enter the code the user account would be locked. They could ask for a new code be sent before they fail to enter the code for the 3rd time. 3) A successful code would allow the user to change their password using the Change Password Form you create in a previous video.
I did something similar in my own database. I haven’t set up email authentication yet, but I set it up to lock the user out after three failed login attempts. I’m working on automatically sending an email, which would send a random six-digit numeric code (similar to 2 factor authentication from sites like Google, etc), which I would trigger within 10 minutes of the account being locked.
Like Raymond said, you could easily get something like this working using a combination of the Security Seminar, Email Seminar, and the Registration Seminar is also good if you want to generate six-digit codes to send to your user so they can get back in to their database.
That's definitely a great idea, and Raymond is spot on. I do already cover how to build something like this using a combination of the Security Seminar and the Email Seminar, so everything you're describing is already in there.
It's one of those topics that ends up being pretty involved, so it's a bit beyond what I'd normally squeeze into a TechHelp video without turning it into a full mini-series. I try to use TechHelp to cover gaps or smaller topics that I haven't already gone deep on elsewhere.
So while I love the idea, this one falls into the "spaghetti sauce" category... it's in there.
Matt things you don't want your wife to tell you for $500.
Alex Lewis
@Reply 44 days ago
I think another cool feature would be to create a Password History Table to store old passwords so they can’t be used twice… the possibilities are endless!
Sorry, only students may add comments.
Click here for more
information on how you can set up an account.
If you are a Visitor, go ahead and post your reply as a
new comment, and we'll move it here for you
once it's approved. Be sure to use the same name and email address.
This thread is now CLOSED. If you wish to comment, start a NEW discussion in
Password Manager 2.