Protect your PHP script with PHP Firewall

PHP Firewall is a small free PHP script, but secure all websites
writen in PHP.
Last version 1.0.3 - 12/04/2010
PHP Firewall required PHP 5.
PHP Firewall doesn't use any database, but flatfile system.
It's very small, very simple, really easy to install and fastest.
PHP Firewall have is own logs system and email alert.
No .htaccess file required for betters performances.....

Security listing

* XSS protection
* UNION SQL Injection
protection
* Bads bots protection
* Bads requests methods protection
* Small DOS protection
* Inclusion files protection
* Santy and others worms protection
* Server Protection
* URL Query protection
* Cookies sanitize
* Post vars sanitize
* Get vars sanitize
* IPs range reserved denied
* IPs range spam denied
* IPs protected
* Unset globals PHP var

Installation

* Upload the folder php-firewall/
* put the php-firewall/logs.txt
in writable chmod (777)
* Open the main file ( index.php for example ) and add these
lines just after the < ?php

Code
define('PHP_FIREWALL_REQUEST_
URI', strip_tags( $_SERVER
['REQUEST_URI'] ) );
define('PHP_FIREWALL_ACTIVATION', true );
if ( is_file( @<a href=slash_JOHNCMS"/users/dirnameslash_JOHNCMS">dirname</a>(__FILE__).'/
php-firewall/firewall.php' ) )
include_once( @
dirname(__FILE__).'/php-firewall/firewall.php' );

Comments

Keep up to date with our latest articles and uploads...