Login   Register  
PHP Classes
elePHPant
Icontem

Data Transmission Shield: Protects data 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 (8)   DownloadInstall with Composer Download .zip   Reputation   Support forum (5)   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2005-09-30 (8 years ago) RSS 2.0 feedStarStarStarStar 65%Total: 4,117 All time: 667 This week: 1,372Down
Version License Categories  
shield 1.0.0GNU Lesser General Publ...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...

http://www.myserver.com/add.php?user=buggedcom&page=register

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...

http://www.myserver.com/add.php?shield=sN5V3BBa1FHSTdV3tea1FHBSTaf4nj43....

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
Name: Oliver Lillie <contact>
Classes: 5 packages by
Country: Finland Finland
Age: 34
All time rank: 191 in Finland Finland
Week rank: 301 Down2 in Finland Finland Down
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,117All time:667
 This week:0This week:1,372Down
 User Ratings  
 
 All time
Utility:97%StarStarStarStarStar
Consistency:85%StarStarStarStarStar
Documentation:-
Examples:85%StarStarStarStarStar
Tests:-
Videos:-
Overall:65%StarStarStarStar
Rank:446