Page 1 of 1

blocking IPs

Posted: Mon Dec 25, 2006 2:02 am
by itsmani1
Every One
Hello and Marry Christmas

I want to block all those IPs who are attacking my web page more than 50 times a day. I mean if some is trying access my web page using some script this IP needs to be blocked. How can i do this?

One option is i save ever IP in the database and see if some IP has accessed my site more than 50 times a day i will block that IP for that day.

Problem: Few days back someone tried to access my page 15-25 times/second. and i want to stop this and want to make sure that this don't happen again?

Is there any other solution to this problem?

Thank you,

Posted: Mon Dec 25, 2006 4:42 am
by dibyendrah
Yes. Storing a IP, date/time, HTTP request and querying the database would make your work easier.

Posted: Fri Jan 05, 2007 4:11 am
by R@mzes

PHP IP Blocking

Posted: Thu Jan 18, 2007 2:20 am
by ozgur uksal