Login   Register  
PHP Classes

secShield: Encrypt parameters passed between pages

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 (3)   DownloadInstall with Composer Download .zip   Reputation   Support forum (1)   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2007-06-21 (7 years ago) RSS 2.0 feedNot enough user ratingsTotal: 780 All time: 4,009 This week: 1,461Up
Version License PHP version Categories  
secshield 1.0Free for non-commercial...4.0HTTP, PHP 5, Cryptography, Security
Description Author  

This class can be used to protect the parameters passed between pages by using encryption.

It takes a string with a list of parameters like the query parameters of an URL.

The class returns a string with the parameters encrypted with a secret key that should be used as a single parameter in a link URL.

The linked page can use the class to decrypt and verify the integrity of the parameters.

If the encrypted parameters are not valid in 10 successive requests, the class may ban the access of users of the same IP address for 1 day.

If the decrypted parameters are valid, the class returns the original parameters in an array.

Picture of Tiago Night
Name: Tiago Night <contact>
Classes: 1 package by
Country: Brazil Brazil
Age: 32
All time rank: 2427173 in Brazil Brazil
Week rank: 1770 Up138 in Brazil Brazil Up

  Files folder image Files  
File Role Description
Accessible without login Plain text file howto.html Doc. HOWTO
Accessible without login Plain text file index.php Example Main usage
Plain text file secShield.class.php Class secShield Class

 Version Control Unique User Downloads Download Rankings  
 0%Total:780All time:4,009
 This week:0This week:1,461Up