News Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

PHPBuilder.com:
Securing Data Sent Via GET Requests
December 14, 2007 @ 08:49:00

PHPBuilder.com has a new article by Hillel Aftel about his method of choice for securing the data that you send over the GET string when moving things around on your site.

In this article I'm going to show you how you can use PHP to encode your data for transit. Most importantly, it will be done in a way that makes the data decodable, and therefore much more usable, by the receiving page.

His encryption method - sending everything in a single string and modifying the scheme each time - uses static pairs of values (of your choosing) to "encode" the outgoing string. It actually consists of three different files: the script itself, a single-use script that makes the third file, an include file to handle the conversion back from the encoded results.

0 comments voice your opinion now!
get request secure data encode decode salt convert get request secure data encode decode salt convert


blog comments powered by Disqus

Similar Posts

LoLoCoJr Blog: Rewriting a (large) PHP application in Rails, part 2

Jeremy Cook's Blog: Handling Binary Data with PDO

Jani Hartikainen's Blog: How to CSRF protect all your forms

Nessa's Blog: Convert Database to UTF-8

Sebastian Bergmann's Blog: Data Providers in PHPUnit 3.2


Community Events

Don't see your event here?
Let us know!


api conference opinion example configure library introduction application interview language laravel framework performance voicesoftheelephpant series release podcast symfony2 community php7

All content copyright, 2015 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework