Login   Register  
PHP Classes
elePHPant
Icontem

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: 777 This week: 2All time: 4,010 This week: 954Up
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: 2422173 in Brazil Brazil
Week rank: 823 Up73 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:777All time:4,010
 This week:2This week:954Up