TornadoV
asked on
How to encode QueryString in ASP.NET 2.0 and decode in JSP?
After migrating to a ASP.NET 2.0 application I have to add a link to a legacy application written in Java. Basically my app will use redirect to a login page with http://localsite/login.jsp?name=John&pwd=Hello. I do not want to display credentials as clear text, what should be done in order to encrypt querystring in ASP.NET 2.0 and then deciphered on JSP page?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Frodoman, I'm sorry for not being clear, it's an intranet app, I simply did not want to display user's credentials as clear text in their address bar. I was looking for Convert.ToBase64String() equivalent in Java since I'm not proficient in it.
I gave all points to Ramuncikas simply because I've implemented his suggestion even without looking at it first.
Thanks for your help guys!
I gave all points to Ramuncikas simply because I've implemented his suggestion even without looking at it first.
Thanks for your help guys!
If you want to have credentials hidden then don't put them in the querystring!