Originally posted by vjy chin:
e.g. I am sending the users info from a jsp page to a servlet. Instead of using request.getParameter for all the values, I want to set the values in an object and send the object to the servlet. Some people say to use sessions for this. But some people told its not advisable.
If its so easy to hijack this, then why in the first place do we have them. If we encrypt the session and decrypt the session in the servlet will it be useful.
Originally posted by vjy chin:
If not how the ssl and other encryption mechanism work. How the credit card nos are being processed by Verisign and other CA's.
Any ideas and suggestions would be great. Also please if you can point me to more readings, it would be nice.
Thanks
Alco-Haul: We move spirits.
Demented Deliberations of a Dilettante
Originally posted by vjy chin:
Actually I am submitting the results from the jsp page to the servlet and not forwarding to the servlet. To my understading they two are different, is it not? If not I apologize for the mistake.
Originally posted by vjy chin:
But I want to submit the page. This is why the sessions came into picture. So do you mean to say that even when we are submitting the page, session hijacking will not be a problem?
Originally posted by vjy chin:
Please let me know if I am wrong.
Alco-Haul: We move spirits.
Demented Deliberations of a Dilettante
Originally posted by Ben:
A session is nothing more than a map of references to objects living in memory on the server. It's not something that is shipped from the server to the client and back. The only thing "session related" that travels across the internet is the JSESSIONID header.
Originally posted by vjy chin:
Also is it ok to just encrypt the session key, or should I try to encrypt the whole session. If so what is the procedure, since I searched through google, couldnt find much help there. It will be great if anyone can enlighten me on this issue on how to encrypt the session.
I think to encrypt the session key, i need to get the key from session and encrypt it using encryption algorithms. But for session how can I do it?
Alco-Haul: We move spirits.
Demented Deliberations of a Dilettante
Originally posted by vjy chin:
So you mean to say that if I use https instead of http, it would be sufficient. Is it so?
Alco-Haul: We move spirits.
Demented Deliberations of a Dilettante
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime. |