Re: faking session data



Marcus wrote:
Hello all,

I have written numerous functions that check all user entered data on my site via POST and GET. My question is this: once my data checks out as being valid, I sometimes store it in SESSION as I move between pages, and eventually use the values in SESSION to update my database. Do I need to re-check the values in SESSION to make sure they are still valid before updating the database? In other words, I know session data resides on the server, but how possible/likely is it that a malicious user could fake session data after or in lieu of my initial error checks? All pages are protected by SSL if that makes any difference. Thanks in advance.

Marcus
The session data values are stored on the server. The session id however is passed to the client. In the worst case, the client could fake the id and hijack another session.
.




Relevant Pages

  • Re: Cycling - ITV4
    ... especially marcus. ... I ended tonight's session at the gym by kneeing a punch bag 200 times. ...
    (uk.media.tv.misc)
  • Re: Activating gnome-screensaver from /etc/acpi/sleepbtn.sh
    ... about environments. ... from my X session, in a terminal, run ... Marcus Libäck ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
    (Debian-User)
  • Re: questions about sessions
    ... Marcus wrote: ... > session even is working with cookies off and trans_sid off? ... time have detrimental effects like slower performance? ...
    (comp.lang.php)
  • Re: session_regenerate_id()
    ... Marcus wrote: ... the parameter to delete the old session was not added until PHP 5.1.0. ... I am running the 4.3 series, and am trying to manually delete my old session as I am calling session_regenerate_idon every user request. ... browse your website? ...
    (comp.lang.php)
  • Re: [PHP] Re: a question on session ID and security
    ... hash key" to the client when it doesn't need it? ... But by doing that you're exposing how your app validates the authentication key, leaving it open to being transferred to another machine. ... tutorial on PHP session security is helpful. ...
    (php.general)