This week's book giveaway is in the General Computing forum. We're giving away four copies of Arduino in Action and have Martin Evans, Joshua Noble, and Jordan Hochenbaum on-line! See this thread for details.
I am confused on http session management. Say, we have an authentication based on http session. User1 logs into a private zone and a session is started. Then, say, a User2 finds out jsessionid of User1 and types it in the query string. This way User2 sees User1's private zone! How to avoid this? Or do I get something wrong?
How about saving the result of the getRemoteAddr method of ServletRequest when the user first enters in the session and checking for the same address on all subsequent entries?
Originally posted by Ben Souther: The best way to avoid that is to use SSL.
If transport guarantee is used , then whether the JSESSIONID would be encrypted or. How will it prevent the possible misuse of session as said by the original poster?
i dont think merely knowing jsessionid is enough for highjacking a session. for example i opened a site in firefox & copy the jessionid & then tried to open this site with copied jsessionid (on same machine) it did not work.
session is maintained at web-server which keeps track of client(browser) so imo just getting hoid of jsessionid wont do.
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to
run our stuff on 16 servers instead of 3.