Login   Register  
PHP Classes
elePHPant
Icontem

Defensive Attack

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Todor Iliev  >  Defensive Attack  >  Download .tar.gz .zip  >  Support forum Support forum  >  Blog Blog  >  RSS 1.0 feed RSS 2.0 feed Latest changes  
Name: Defensive Attack
Base name: defensive_attack
Description: Retrieve information of current user HTTP request
Related classes: , , , , , , ,
Version: -
PHP version: -
License: GNU General Public License (GPL)
All time users: 2222 users
All time rank: 1480
Week users: 3 users
Week rank: 1194
 

  Author  
Picture of Todor Iliev
Name: Todor Iliev <e-mail contact>
Packages: 2 Browse all classes by Todor Iliev Browse all classes by
Country: United Kingdom United Kingdom - PHP jobs in United Kingdom
Age: 30
All time rank: 79939 in United Kingdom United Kingdom
Week rank: 984 Down48 in United Kingdom United Kingdom Down
Innovation award
Innovation award
Nominee: 1x


  Detailed description  
This class can be used to get and set information about the current user HTTP request details to help protecting against unintended accesses. It can:

- Determine the user machine real IP address even when it is behind a proxy.
- Check whether the user IP address is the same as the Web server IP address
- Determine whether the user is behind a proxy
- Set, remove and check a response cookie that determines whether the current user is banned from accessing the site
- Retrieve the request referrer page domain
- Retrieve the request query parameters
- Get the cookie request data

  Groups   Rate classes User ratings   Trackback   Applications   Files Files  

  Groups  
Group folder image HTTP HTTP protocol clients, headers and cookies View top rated classes
Group folder image PHP 5 Classes using PHP 5 specific features View top rated classes
Group folder image Security Security protection and attack detection View top rated classes


  User ratings  
Ratings
Utility
Consistency
Documentation
Examples
Tests
Videos
Overall
Rank
All time:
Sufficient (60.7%)
Sufficient (67.9%)
Sufficient (60.7%)
Sufficient (67.9%)
-
-
Not sure (50.0%)
1517
Month:
Not yet rated by the users

  Trackback links  
Link Description
Blocking damn proxy servers!! My sites getting flooded with fake votes/reviews trough proxy servers...
Detecting Proxy Servers using PHP and blacklists The widespread abuse of proxies started years ago with a program called Wingate...

  Applications that use this class  
No application links were specified for this class.
Add link image If you know an application of this package, send a message to the author to add a link here.
  Files folder image Files  
File Role Description
Files folder imagedoc (11 files, 5 directories)
Plain text file class.php4.DefensiveAttack.php Class PHP4 class
Plain text file class.php5.DefensiveAttack.php Class PHP5 Class
Plain text file example_1.php Example IP address identity. Make ip allow or not.
Plain text file example_2.php Example Look for proxy using.
Plain text file example_3.php Example Check referer.
Plain text file example_4.php Example Smart cookie trick. Ban with cookie.
Plain text file example_5.php Example Class extends. Check referer with "www" and without "www".

  Files  /  Files folder image doc  
File Role Description
Files folder imageDefensiveAttack (8 files)
Files folder imagemedia (2 files, 1 directory)
Files folder imageMyDefensiveAttack (1 file)
Files folder image__examplesource (5 files)
Files folder image__filesource (7 files)
  HTML file blank.html Doc. Methods and attributes documentation
  HTML file classtrees_DefensiveAttack.html Doc. Methods and attributes documentation
  HTML file classtrees_MyDefensiveAttack.html Doc. Methods and attributes documentation
  HTML file elementindex.html Doc. Methods and attributes documentation
  HTML file elementindex_DefensiveAttack.html Doc. Methods and attributes documentation
  HTML file elementindex_MyDefensiveAttack.html Doc. Methods and attributes documentation
  HTML file index.html Doc. Methods and attributes documentation
  HTML file li_DefensiveAttack.html Doc. Methods and attributes documentation
  HTML file li_MyDefensiveAttack.html Doc. Methods and attributes documentation
  HTML file packages.html Doc. Methods and attributes documentation
  Plain text file Readme.txt Doc. Methods and attributes documentation

  Files  /  doc  /  Files folder image DefensiveAttack  
File Role Description
  HTML file DefensiveAttack.html Doc. Methods and attributes documentation
  HTML file _class.php4.DefensiveAttack.php.html Doc. Methods and attributes documentation
  HTML file _class.php5.DefensiveAttack.php.html Doc. Methods and attributes documentation
  HTML file _example_1.php.html Doc. Methods and attributes documentation
  HTML file _example_2.php.html Doc. Methods and attributes documentation
  HTML file _example_3.php.html Doc. Methods and attributes documentation
  HTML file _example_4.php.html Doc. Methods and attributes documentation
  HTML file _example_5.php.html Doc. Methods and attributes documentation

  Files  /  doc  /  Files folder image media  
File Role Description
Files folder imageimages (49 files)
  Plain text file banner.css Data Methods and attributes documentation
  Plain text file stylesheet.css Data Methods and attributes documentation

  Files  /  doc  /  media  /  Files folder image images  
File Role Description
  Image file AbstractClass.png Icon Methods and attributes documentation
  Image file AbstractClass_logo.png Icon Methods and attributes documentation
  Image file AbstractMethod.png Icon Methods and attributes documentation
  Image file AbstractPrivateClass.png Icon Methods and attributes documentation
  Image file AbstractPrivateClass_logo.png Icon Methods and attributes documentation
  Image file AbstractPrivateMethod.png Icon Methods and attributes documentation
  Image file blank.png Icon Methods and attributes documentation
  Image file Class.png Icon Methods and attributes documentation
  Image file class_folder.png Icon Methods and attributes documentation
  Image file Class_logo.png Icon Methods and attributes documentation
  Image file Constant.png Icon Methods and attributes documentation
  Image file Constructor.png Icon Methods and attributes documentation
  Image file Destructor.png Icon Methods and attributes documentation
  Image file empty.png Icon Methods and attributes documentation
  Image file file.png Icon Methods and attributes documentation
  Image file folder.png Icon Methods and attributes documentation
  Image file Function.png Icon Methods and attributes documentation
  Image file function_folder.png Icon Methods and attributes documentation
  Image file Global.png Icon Methods and attributes documentation
  Image file I.png Icon Methods and attributes documentation
  Image file Index.png Icon Methods and attributes documentation
  Image file Interface.png Icon Methods and attributes documentation
  Image file Interface_logo.png Icon Methods and attributes documentation
  Image file L.png Icon Methods and attributes documentation
  Image file Lminus.png Icon Methods and attributes documentation
  Image file Lplus.png Icon Methods and attributes documentation
  Image file Method.png Icon Methods and attributes documentation
  Image file next_button.png Icon Methods and attributes documentation
  Image file next_button_disabled.png Icon Methods and attributes documentation
  Image file package.png Icon Methods and attributes documentation
  Image file package_folder.png Icon Methods and attributes documentation
  Image file Page.png Icon Methods and attributes documentation
  Image file Page_logo.png Icon Methods and attributes documentation
  Image file previous_button.png Icon Methods and attributes documentation
  Image file previous_button_disabled.png Icon Methods and attributes documentation
  Image file PrivateClass.png Icon Methods and attributes documentation
  Image file PrivateClass_logo.png Icon Methods and attributes documentation
  Image file PrivateMethod.png Icon Methods and attributes documentation
  Image file PrivateVariable.png Icon Methods and attributes documentation
  Image file private_class_logo.png Icon Methods and attributes documentation
  Image file StaticMethod.png Icon Methods and attributes documentation
  Image file StaticVariable.png Icon Methods and attributes documentation
  Image file T.png Icon Methods and attributes documentation
  Image file Tminus.png Icon Methods and attributes documentation
  Image file Tplus.png Icon Methods and attributes documentation
  Image file tutorial.png Icon Methods and attributes documentation
  Image file tutorial_folder.png Icon Methods and attributes documentation
  Image file up_button.png Icon Methods and attributes documentation
  Image file Variable.png Icon Methods and attributes documentation

  Files  /  doc  /  Files folder image MyDefensiveAttack  
File Role Description
  HTML file MyDefensiveAttack.html Doc. Methods and attributes documentation

  Files  /  doc  /  Files folder image __examplesource  
File Role Description
  HTML file exsource___www_myp...9c25ce994c9ea4.html Doc. Methods and attributes documentation
  HTML file exsource___www_myp...1d379f503319ff.html Doc. Methods and attributes documentation
  HTML file exsource___www_myp...59ffc3e1a098ba.html Doc. Methods and attributes documentation
  HTML file exsource___www_myp...bbf71fdee03013.html Doc. Methods and attributes documentation
  HTML file exsource___www_myp...18b91269c029db.html Doc. Methods and attributes documentation

  Files  /  doc  /  Files folder image __filesource  
File Role Description
  HTML file fsource_DefensiveA...siveAttack.php.html Doc. Methods and attributes documentation
  HTML file fsource_DefensiveA...siveAttack.php.html Doc. Methods and attributes documentation
  HTML file fsource_DefensiveA..._example_1.php.html Doc. Methods and attributes documentation
  HTML file fsource_DefensiveA..._example_2.php.html Doc. Methods and attributes documentation
  HTML file fsource_DefensiveA..._example_3.php.html Doc. Methods and attributes documentation
  HTML file fsource_DefensiveA..._example_4.php.html Doc. Methods and attributes documentation
  HTML file fsource_DefensiveA..._example_5.php.html Doc. Methods and attributes documentation

Download all files: defensive_attack.tar.gz defensive_attack.zip
NOTICE: if you are using a download manager program like 'GetRight', please Login before trying to download this archive.