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
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' );
Kiyoo
Tanx o..buh wnt it affect the .htaccess?
sylvar02
Good job
Gerardcole
No it wouldn't.
Kiyoo
thanx....bro | u t00 much
Miracle
But its 4 johcms? Or pbnl
Kiyoo
pbnl {u cn use it alternatively}
Cybreed
Miracle abeg clarify,its for pbnl? And hope it won't distort my design?
trustworthy
. Daht all if u hav done it upload ur topics.php here 4 others[/php]
Goddygee
K, plz shuld we chnge JHONCMS written 2 Pbnl?
Xplorer
@GERALDCOLE should we unzip the file to public_html folder ?
Cybreed
after installation,it banned my ip,pls what can I do?
chiboyhack
Xplorer
Okay guys i worked on the script and i modded the firewall for johncms users only. Johncms users should unzip this to public_html and enter ''php-firewall'' and chmod logs.txt to 777 then ur site is secured. I will share that of pbnl later