A
A
To identify a request urlB as belonging to the same clientX who sent
request urlA, request to urlA must supply the session id which was given to
it by the server in any number of ways
FORM hidden fields, session id in the querystring or with cookies
My question is this:
if a client Y manages to find the session id by which ever way, it should
not be so difficult to pretend to be clientX and attach to clientX's
httpsession on the server... Probably one way to kind of protect against
this would be to associate sessionid and ip and deny access to anyother ip
trying to access the session... but how do popular servelet containers,
j2ee servers handle this ?
This mystifies me- perhaps its something simple but I cant figure it out.
On yahoo for instance if I login to my mail.yahoo.com but then type in
another url in the yahoo domain, say yp.yahoo.com,
(with cookies turned off, with no session id being sent to the server
through the url) it still identifies me and greets me by my id.
How does the server know to find my name in my authenticated session and
serve a personalized page ?
Thanks
request urlA, request to urlA must supply the session id which was given to
it by the server in any number of ways
FORM hidden fields, session id in the querystring or with cookies
My question is this:
if a client Y manages to find the session id by which ever way, it should
not be so difficult to pretend to be clientX and attach to clientX's
httpsession on the server... Probably one way to kind of protect against
this would be to associate sessionid and ip and deny access to anyother ip
trying to access the session... but how do popular servelet containers,
j2ee servers handle this ?
This mystifies me- perhaps its something simple but I cant figure it out.
On yahoo for instance if I login to my mail.yahoo.com but then type in
another url in the yahoo domain, say yp.yahoo.com,
(with cookies turned off, with no session id being sent to the server
through the url) it still identifies me and greets me by my id.
How does the server know to find my name in my authenticated session and
serve a personalized page ?
Thanks