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¶m2=567] to
param1=asf*&*&fgfttrg¶m2=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}