|Info||View files (4)||Download .zip||Reputation||Support forum (2)||Blog|
|Last Updated||Ratings||Unique User Downloads||Download Rankings|
|2010-12-09 (3 years ago)||Not enough user ratings||Total: 647 This week: 1||All time: 4,459 This week: 1,432|
|firewall-protection 0.7||GNU Lesser General Publ...||5.0||HTTP, PHP 5, Security|
This class can be used to restrict the access to pages based on IP address.
It can check if the IP address of the user computer and compares it to ranges of allowed and forbidden IP addresses.
If the IP address is not in the list of allowed addresses or is in the list in forbidden address, the class throws an exception.
The lists of allowed and forbidden addresses may be defined programmatically or read from a configuration file in XML format.
The class also gives you oppertunity for XXS filtering and SQL injection escaping at a global level so you can be 100% safe and you do not need to escape any data in your script.
Now you also can block all input, this is most not nessecary, but it can be used for emergency and when site is down or if you are just showing static page.
|Install with Composer|
|Version Control||Unique User Downloads||Download Rankings|
|This week:||1||This week:||1,432|
|User Comments (1)|