PHP Classes
elePHPant
Icontem

PHP Protected Page: Block direct access to a page from external links

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Info   View files View files (5)   DownloadInstall with Composer Download .zip   Reputation   Support forum (1)   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2014-04-29 (1 year ago) RSS 2.0 feedNot enough user ratingsTotal: 712 All time: 4,334 This week: 1,197Up
Version License PHP version Categories  
protected-page 1.0Freeware5.0HTTP, PHP 5, Security
Description Author  

This class can block direct access to a page from external links.

It verifies if an id and a token parameter are passed in the URL with a token that is generated from a secret key and a user identification.

If the token parameter is missing or invalid, the user is redirected to some other page.

Successful validation enables the user to access the page directly during a given period of time.

Picture of Xavier Pérez
Name: Xavier Pérez is available for providing paid consulting. Contact Xavier Pérez .
Classes: 8 packages by
Country: Spain Spain
Age: ???
All time rank: 135428 in Spain Spain
Week rank: 315 Up8 in Spain Spain Up
Innovation award
Innovation award
Nominee: 1x

  Files folder image Files  
File Role Description
Files folder imagepublic_html (3 files)
Accessible without login Plain text file INSTALL.txt Doc. Readme
Plain text file protectedPage.php Class Main protect class

  Files folder image Files  /  public_html  
File Role Description
  Accessible without login Plain text file generateKeys.php Aux. Example generating auth links
  Accessible without login Plain text file index.php Example Public index example
  Plain text file rejected.html Data Reject example page

 Version Control Unique User Downloads Download Rankings  
 0%Total:712All time:4,334
 This week:0This week:1,197Up
 User Comments (1)