I want to make brute-force protection (“brute force” method) in my PHP system for the Administrator Panel. I already have a CAPTCHA, but it does not protect. I want to make a timeout. Entered 5 times wrong password - rest for 12 hours. The problem is this: it’s just impossible to track a computer, many have dynamic IP, and Cookies are easily deleted. Writing to the database “for all” is also not good: what if someone just wants to play around, and then the administrator will wait a day to wait.
There is, of course, another option: set the timeout after each password entry for 5 seconds, so that to slow down the brute force + you can, after 100 incorrect passwords, send an email to the site owner, saying that they are trying to hack.
What do you think about it?