PHP Classes

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

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in Bookmark in
  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: 715 This week: 1All time: 4,363 This week: 1,109Up
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
  Performance   Level  
Name: Xavier Pérez is available for providing paid consulting. Contact Xavier Pérez .
Classes: 9 packages by
Country: Spain Spain
Age: ???
All time rank: 134228 in Spain Spain
Week rank: 331 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:715All time:4,363
 This week:1This week:1,109Up
 User Comments (1)