PHP Classes

Data Transmission Shield: Protects data passed between pages

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in Bookmark in
  Info   View files View files (8)   DownloadInstall with Composer Download .zip   Reputation   Support forum (6)   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2005-09-30 (10 years ago) RSS 2.0 feedStarStarStarStar 65%Total: 4,188 All time: 677 This week: 1,119Down
Version License Categories  
shield 1.0.0GNU Lesser Genera...HTTP, Cryptography, Security
Description Author  

If you are sending sensitive instructions from on page to another, it is often important to hide and protect what you are sending to prevent cross site scripting and other malicious attempts to hack your sites and applications.

The shield class protects your data by using mcrypt to encrypt the information into a hashed value. This is then sent as one value unreadable value. For example a standard GET form would send data like so...

but doing so my unintentionally open your scripts to manipulation. The shield class combines all this data into one value so people can no longer observe what data is being sent. It would turn the above example into...

Each encrypted value contains a digital id. One that you set and the directory path that the script resides in. If neither match the data is not decrypted and is returned as false.

Now this script also features javascript DES encryption methods that have been linked from another opensource work. This usage enables people to propvide form submission encryption to data in non https forms. A simple example is supplied ( - NOTE : you will ahve to download a font from a seperate server, the url is in the example.keyimg.php file)

Picture of Oliver Lillie
  Performance   Level  
Name: Oliver Lillie <contact>
Classes: 5 packages by
Country: Finland Finland
Age: 35
All time rank: 191 in Finland Finland
Week rank: 135 Down1 in Finland Finland Equal
Innovation award
Innovation award
Nominee: 2x

Winner: 1x

  Files folder image Files  
File Role Description
Files folder imageshield_js (2 files)
Accessible without login Plain text file class.shield.php Class Class Source
Accessible without login Plain text file example.formshield.php Example Example script
Accessible without login Plain text file example.get.php Example Demo File
Accessible without login Plain text file example.input.php Example Demo File
Accessible without login Plain text file example.keyimg.php Example Example script
Accessible without login Plain text file example.plain.php Example Demo File

  Files folder image Files  /  shield_js  
File Role Description
  Accessible without login Plain text file base64.js Aux. Javascript
  Accessible without login Plain text file des.js Aux. Javascript

 Version Control Unique User Downloads Download Rankings  
 0%Total:4,188All time:677
 This week:0This week:1,119Down
User Ratings User Comments (1)  
 All time
I posted an analysis here: https://gist.
1 month ago (Scott Arciszewski)