Login   Register  
PHP Classes
elePHPant
Icontem

Data Transmission Shield

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us

  Author  
Picture of Oliver Lillie
Name: Oliver Lillie is available for providing paid consulting. Contact Oliver Lillie .
Packages: 5 Browse all classes by Oliver Lillie Browse all classes by
Country: Finland Finland - PHP jobs in Finland
Age: 33
All time rank: 201 in Finland Finland
Week rank: 29 Down1 in Finland Finland Equal
Innovation award
Innovation award
Nominee: 2x

Winner: 1x


  Detailed description   Download .zip .tar.gz  
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)

  Classes of Oliver Lillie  >  Data Transmission Shield  >  Download .zip .tar.gz  >  Support forum Support forum (5)  >  Blog Blog  >  RSS 1.0 feed RSS 2.0 feed Latest changes  
Name: Data Transmission Shield
Base name: shield
Description: Protects data passed between pages
Version: -
PHP version: -
License: GNU Lesser General Public License (LGPL)
All time users: 4000 users
All time rank: 662
Week users: 3 users
Week rank: 940 Down
 
  Groups   Rate classes User ratings   Applications   Files Files  

  Groups  
Group folder image HTTP HTTP protocol clients, headers and cookies View top rated classes
Group folder image Cryptography Encrypting, decrypting and hashing data View top rated classes
Group folder image Security Security protection and attack detection View top rated classes


  User ratings  
Ratings
Utility
Consistency
Documentation
Examples
Tests
Videos
Overall
Rank
All time:
Good (97.5%)
Good (85.0%)
-
Good (85.0%)
-
-
Sufficient (65.8%)
429
Month:
Not yet rated by the users

  Applications that use this class  
No application links were specified for this class.
Add link image If you know an application of this package, send a message to the author to add a link here.
  Files folder image Files  
File Role Description
Files folder imageshield_js (2 files)
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  /  Files folder image 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

Download all files: shield.tar.gz shield.zip
NOTICE: if you are using a download manager program like 'GetRight', please Login before trying to download this archive.