![]() |
|
We don't bite newbies here... much | |
PerlMonks |
Re: SessionID on a windows server (secure cookies)by Anonymous Monk |
on Jan 30, 2015 at 00:29 UTC ( #1115005=note: print w/replies, xml ) | Need Help?? |
Any insights as to why this would be? Because you wrote it that way? :D one problem is passing/accepting sessionid through urls the other is accepting sessionid without further checks, like "-ip_match" that ikegami mentions, that prevent https://en.wikipedia.org/wiki/Session_fixation The simplest solution is to use secure cookies (don't really have to write much if any extra code, all the popular frameworks support it in one way or another) A better solution is to use HTTP digest authentication... but it requires a tad more work on the javascript end ... http://marcin-michalski.pl/2012/11/01/javascript-digest-authentication-restful-webservice-spring-security-javascript-ajax/
In Section
Seekers of Perl Wisdom
|
|