Networking: FloodDam
Murat Atay (contact me)
This class can be used to protect a site against an abusive number of accesses.
It determines the IP address of each user accessing the site PHP scripts and keeps the access counts stored in distinct files per each IP address.
When the number of accesses from an IP address exceeds a configurable limit, the class exits the current script and the user from the banned address is not served.
The class is able to determine the current user IP address from environments and also attempts to determine the IP address of users behind proxies.
The class may automatically deny access to users when it is not possible to determine their IP addresses.
Click here for detailed information about this class on phpclasses.org
Example
English Example Page
Example
Turkish Example Page
Doc.
English Documentation