Login   Register  
PHP Classes
elePHPant
Icontem

Link Obfuscator: Obfuscate HTML links to prevent direct page access

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us

  Author Author  
Picture of eikron morgauin
Name: eikron morgauin <e-mail contact>
Packages: 2 Browse all classes by eikron morgauin Browse all classes by
Country: Italy Italy - PHP jobs in Italy
Age: 42
All time rank: 39114 in Italy Italy
Week rank: 1365 Down53 in Italy Italy Down
Innovation award
Innovation award
Nominee: 1x


  Detailed description   Download Download .zip .tar.gz  
This class is meant to generate obfuscated HTML links in a way that is possible to detect whether the a page was accessed following a real link or went directly to a given page.

This way the class can be used to disallow users to freely navigate in a site without going through the intended pages, preventing direct access to pages eventually bookmarked during a previous access to the site.

  Classes of eikron morgauin  >  Link Obfuscator  >  Download Download .zip .tar.gz  >  Support forum Support forum  >  Blog Blog  >  RSS 1.0 feed RSS 2.0 feed Latest changes  
Name: Link Obfuscator
Base name: linkobfuscator
Description: Obfuscate HTML links to prevent direct page access
Version: -
PHP version: -
License: GNU General Public License (GPL)
All time users: 2332 users
All time rank: 1529
Week users: 0 users
Week rank: 1895 Equal
 
  Groups   Rate classes User ratings   Applications   Files Files  

  Groups  
Group folder image HTML HTML generation and processing View top rated classes
Group folder image Security Security protection and attack detection View top rated classes


  Innovation Award  
PHP Programming Innovation award nominee
August 2004
Number 5

Prize: One subscription to the PHP Magazine
Sometimes it is important for a site to not provide direct access to certain pages except you are a legitimate user.

This is the case for instance when you want to prevent that robots access certain pages and retrieve information in behalf of users that in reality did not access the site.

Leting the users or robots have direct access to pages can cause some type of loss to the site, like for instance not exposing the users to advertising on which the site depends.

This class provides a solution that consists on adding special tokens to links that can be verified on each page to determine whether the user accessed the page following legitimate links. With this verification, the site may refuse to serve the usual content.

Manuel Lemos

  User ratings  
RatingsUtility Consistency Documentation Examples Tests Videos Overall Rank
All time: Sufficient (67.9%) Sufficient (67.9%) - Sufficient (75.0%) - - Not sure (48.2%) 1706
Month: Not yet rated by the users

  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
Plain text file linkObfuscator.php Class main class file
Accessible without login Plain text file test.php Example A simple test file

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