Login   Register  
PHP Classes
elePHPant
Icontem

Class: Flood Blocker

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Vagharshak Tozalakyan  >  Flood Blocker  >  Download .tar.gz .zip  >  Support forum Support forum (2)  >  Blog Blog  >  RSS 1.0 feed RSS 2.0 feed Latest changes  
Name: Flood Blocker
Base name: floodbl
Description: Detect and protect from attempts to flood a site
Related classes: , , , ,
Version: -
PHP version: -
License: GNU General Public License (GPL)
All time users: 3609 users
All time rank: 732
Week users: 4 users
Week rank: 1006
Picture of Vagharshak Tozalakyan
Author: Vagharshak Tozalakyan <e-mail contact>
Packages: 27 Browse this author's classes Browse this author's classes
Country: Armenia Armenia - PHP jobs in Armenia
Age: 32
All time rank: 61 in Armenia Armenia
Week rank: 18 Down1 in Armenia Armenia
Innovation award
Innovation award
Nominee: 7x


  Detailed description  
This class can be used to detect and protect a Web site from attempts to flood it with too many requests. It also allows to protect the site from automatic downloading many pages or files from the same IP address.

The detection of flood is determine according to a set of parameters indicating the maximal allowed number of requests for the certain time interval. It is possible to set several parameters at once in order to perform more effective protection.

 

  Groups  
Group folder image HTTP HTTP protocol clients, headers and cookies View top rated classes
Group folder image Security Security protection and attack detection View top rated classes

  Rate classes User ratings   Applications   Files Files  

  Innovation Award  
PHP Programming Innovation award nominee
April 2005
Number 2
The excess of simultaneous accesses to a site that may be happening in a given moment is one of the causes that can make a site run slower or even stop running.

Sometimes the excess of simultaneous accesses may be caused by a single user that is using automated robots to quickly retrieve all the site pages, or even by badly intentioned users that deliberately want to cause harm to the site by flooding it with an excessive number of simultaneous requests.

This class can help minimizing the harm that flood attempts may cause by keeping track of the IP addresses of the users accessing each page. Then it can determine when the users of a certain IP addresses are executing an excessive number of accesses so a block may be established for a given period.

Manuel Lemos

  User ratings  
Ratings
Utility
Consistency
Documentation
Examples
Tests
Videos
Overall
Rank
All time:
Good (83.9%)
Good (83.9%)
-
Good (85.7%)
-
-
Not sure (58.9%)
888
Month:
Not yet rated by the users

  Applications that use this class  
No application links were specified for this class.
Add link image If you know an application of this package, send a message to the author to add a link here.
  Files folder image Files  
File Role Description
Plain text file class.floodblocker.php Class Class definition
Plain text file example.php Example Example

Download all files: floodbl.tar.gz floodbl.zip
NOTICE: if you are using a download manager program like 'GetRight', please Login before trying to download this archive.