am
|
Posted: 01/20/2006, 11:35 PM |
|
How do I encrypt the parameters of a query string using CodeCharge. e.g employee.php?name=John.
thanks
|
|
|
dragoon
Posts: 173
|
Posted: 01/21/2006, 7:35 AM |
|
write your own function or find one on the interenet: http://www.google.com/search?num=30&hl=en&lr=&q=encrypt...ers&btnG=Search
|
|
|
Benjamin Krajmalnik
|
Posted: 01/22/2006, 1:29 PM |
|
A simple way would be to use the built-in base64 encoding/decoding functions
in PHP.
This is enough if all you are trying to do is obfuscate the parameter.
Now, if you need stricter encryption look at this:
http://www.phpclasses.org/browse/package/851.html
License is BSD, so you can basically do anything you want with this code.
It uses the mcrypt library.
|
|
|
marcwolf
Posts: 361
|
Posted: 01/25/2006, 1:01 AM |
|
It is possible as I looked at this some time ago.
One would have to modify the COMMON CCS code to capture the Querystring and then decrypt it, and then before redirection re-encrypt it.
Its very messy to do but is achievable with care. because to the difficulties I never preogressed much further.
Ideally if one had control of the server and is very clever - you can set up a filter to encrypt and decrypt the query/form stream before it got to the web application.
Take care
Dave
_________________
' Coding Coding Coding
Keep Those Keyboards Coding.
Raw Code!!!!!!!
|
|
|
|