Welcome Guest, Not a member yet? Register   Sign In
Blocking IP address after x failed login attempts?
#1

[eluser]Josamoto[/eluser]
I am building a login system for Flex with PHP + CodeIgniter + AMFPHP in the server side backend.

I want to enable my system to allow each user to have only 5 opportunities to login. And 5 failed attempts, his IP must be blocked for 15 minutes, whereafter he can login again.

The problem is, there are ways around this.

I can try blocking them by:
a) session id
b) ip address

...but

a) ...can be tricked by simply restarting the browser, thus creating a new session.
b) ...can be tricked by using proxies and techniques I don't even know about, not even to mention ISP's that give dynamic IP addresses.

What is the best way to detect IP addresses (or at least identify specific PC's) from visitors, and how can I blacklist specific computers from logging in.

Thanks
#2

[eluser]Tom Glover[/eluser]
Block by Cookie, without them clearing all your site cookies they will be blocked weather or not they use proxies or change browser or ip!
#3

[eluser]Pascal Kriete[/eluser]
You can never 'truly' block anyone unless you contact their isp. That said, you can make it harder using all the things that have already been mentioned.
#4

[eluser]Josamoto[/eluser]
In my honest opinion, no "secure" computer system is secure. I mean, just look at the number of keygens available for nearly every application on the planet. People just tend to crack...well...everything.

I therefore agree with you inparo. A lock doesn't keep a burglar out, it just slows them down. I remember once at Johannesburg airport, I put a lock on one of my suitcases. Someone got into the bag, without even touching the lock, they just clipped the "ears" of the zippers. Shows you, security sometimes just gives you false piece of mind.

About blocking by cookies, it's against my policy to use cookies, more and more people are turning cookies off, and I've chosen to use server side sessions.

Any ideas on implementing the 15 minute blockout, should a person fail to login say 5 times in a row?




Theme © iAndrew 2016 - Forum software by © MyBB