PHP Classes

Secure Get: Generate and validate URLs to prevent tampering

Recommend this page to a friend!
  Info   View files View files (2)   DownloadInstall with Composer Download .zip   Reputation   Support forum (2)   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 783 This week: 1All time: 4,343 This week: 560Up
Version License PHP version Categories
secure-get 1.0GNU Lesser Genera...4.0PHP 5, Validation, Security
Description 

Author

This class can generate and validate URLs to prevent tampering.

It takes an associative array of parameters to pass in a link.

The class assembles the link parameter keys and values and adds an extra parameter which is the SHA1 value of all parameters adding a secret prefix and a suffix salt values.

The class can also verify if the parameter values are correct in a page of the previously generated URL checking against the passed SHA1 value.

Picture of Gianluca Zanferrari
  Performance   Level  
Name: Gianluca Zanferrari <contact>
Classes: 19 packages by
Country: The Netherlands The Netherlands
Age: 57
All time rank: 1674 in The Netherlands The Netherlands
Week rank: 106 Up4 in The Netherlands The Netherlands Equal
Innovation award
Innovation award
Nominee: 5x

  Files folder image Files  
File Role Description
Plain text file secure_get.class.php Class main class
Accessible without login Plain text file secure_get.php Example example

 Version Control Unique User Downloads Download Rankings  
 0%
Total:783
This week:1
All time:4,343
This week:560Up