Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

URL Parameters Encryption and Decryption

843840May 6 2009 — edited May 6 2009
{color:#3366ff}Hi,

we developed a web application where there are 100's of jsps which contains 1000's of <a href > links where there is a GET type of request for a particular resource.

But with this, a user can able to see all the parameter values as a part of query string in the address bar. I want to encrypt/encode the parameter values (not the entire query string). like if the URL is

[http://www.abc.com/request/abc/xz?param1=123&param2=567] to

param1=asf*&*&fgfttrg&param2=jhjhYJg&*^8889 (just encrypting the param values).

If i follow any encryption algorithm, i need to apply this to allllllll the JSPs. Instead is there any other centralized solution to do this? please help me?

And for the decryption simply i can override the getParameter and getParameterValues by extending HttpServletRequestWrapper and by passing as a custom requst object from the Filter.

Iam clear about decryption. But how to perform the encryption for parameter values in all the anchor tags exists in number of jsps?


Thanks
Naveen.

{color}
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jun 3 2009
Added on May 6 2009
4 comments
802 views