View Single Post
  #1  
Old 21st May 2011, 11:15
smoky28's Avatar
smoky28 smoky28 is offline
Senior Member
 
Join Date: Aug 2010
Hungary
Posts: 82
Smile TSSE 5.6 - Firewall
Firewall required PHP PHP 5th
PHP Firewall doesn't use any database, but flatfile system.
Any database does use PHP Firewall, But flatfile system.
It's very small, very simple, really easy to install and fastest.
It's very small, very simple, really easy to install and fastest.
PHP Firewall have is own logs system and email alert.
PHP Firewall also have own logs and email alert system.
No .htaccess file required for betters performances.
No. Htaccess file required for Performances betters.
Security listing
Security listing


  • XSS protection
    XSS protection
  • UNION SQL Injection protection
    UNION SQL Injection Protection
  • Bads bots protection
    Badsig bots protection
  • Bads requests methods protection
    Badsig methods for the protection requests
  • Small DOS protection
    Small DOS protection
  • Inclusion files protection
    Inclusion files protection
  • Santy and others worms protection
    Santy worms and others protection
  • Server Protection
    Server Protection
  • URL Query protection
    URL Query Protection
  • Cookies sanitize
    Sanitize cookies
  • Post vars sanitize
    Post vars sanitize
  • Get vars sanitize
    Get vars sanitize
  • IPs range reserved denied
    IPs range reserved denied
  • IPs range spam denied
    Spam IPs range denied
  • IPs range protected
    IPs range protected
  • PHP globals desctruction
    PHP globals desctruction
  • Upload the folder php-firewall /
  • put the php-firewall/logs.txt in writable chmod
    put in the writable chmod php-firewall/logs.txt
  • Open the main file ( include/globalfuntcions.php for example ) and add these lines juste after the < ?php
    Open the main file (index.php for example) and add lines THESE juste after the <? Php
This line of code do globalfunctions.php top

PHP Code:
define ('PHP_FIREWALL_REQUEST_URI'strip_tags ($ _SERVER ['REQUEST_URI']));
define('PHP_FIREWALL_ACTIVATION'true ); define ('PHP_FIREWALL_ACTIVATION'true);
if ( 
is_file( @dirname(__FILE__).'/php-firewall/firewall.php' ) ) if (is_file (@ dirname (__FILE__). '/ php-firewall/firewall.php'))
        include_once( @
dirname(__FILE__).'/php-firewall/firewall.php' ); include_once (@ dirname (__FILE__). '/ php-firewall/firewall.php'); 
Attached Files
File Type: gz PHP_Firewall_103.tar.gz (9.5 KB, 224 views)
__________________
Sky-Tech Developer Team Hungary

Reply With Quote
The Following 6 Users Say Thank You to smoky28 For This Useful Post:
DAKz (29th May 2011), DARCK (28th May 2011), Daz (6th December 2012), DOPE (26th July 2011), EMPEREUR1 (17th June 2012), mmisu120000 (6th August 2012)