PHP Classes

secShield: Encrypt parameters passed between pages

Recommend this page to a friend!
  Info   View files View files (3)   DownloadInstall with Composer Download .zip   Reputation   Support forum (1)   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 819 This week: 1All time: 4,196 This week: 154Up
Version License PHP version Categories
secshield 1.0Free for non-comm...4.0HTTP, PHP 5, Cryptography, Security


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: 41
All time rank: 2609182 in Brazil Brazil
Week rank: 152 Up10 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  
This week:1
All time:4,196
This week:154Up