Since an IP address does not necessarily represent a specific device, but probably a whole network/company/etc. does it at all make sense to lock an IP address if there is a significant amout of false login tries from it?
I was planning to implement IP checking as well as tries for a specific user/account/email, but I am not sure if it is better to leave the IP check out completely therefore.
Which would allow an attacker to pretty much try a specific amout of passwords for every user without ever getting banned (at the same time blocking those users from being able to lock in since their accounts will be locked for a while).
What is the correct aproach to prevent something like that?
(Btw: I am using PHP/MySQL, but this does not really matter, since just the right way to do it is needed)