Firewall Protection 0.7
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.
More popular Security System
- phphilter 0.1 (3 years, 10 months 8 days ago)
- Link Obfuscator 1.0 (7 years, 7 months 18 days ago)
- FloodDam 1.0 (7 years, 7 months 20 days ago)
- CrawlProtect 2.0.0 (3 years, 6 months ago)
- Uda Iskariot 1.0 (4 years, 6 months 26 days ago)
Listing Files

example.configscript.php- 347 Bytes
- 08/20/2010 23:11:51

firewall.class.php- 18.2 KB
- 08/20/2010 23:11:51

firewallconfig.xml- 2.1 KB
- 08/20/2010 23:11:51

example.firewall.php- 1.4 KB
- 08/20/2010 23:11:51
- FREE MySQL Cloud Database Super Simple, Zero-Management MySQL Cloud DB. Use It FREE!
- Pinterest clone Start your own pin board social network today. Get Pintastic and start your own pinterest clone network.
- MYRE Real Estate Software Professional Real Estate solutions by MYREPHP PROGRAMMING!
