Re: Reality Check: Session Hijacking
From: mrbog (dterrors_at_hotmail.com)
Date: 05/08/04
- Next message: Daniel Morgan: "Re: What so special about PostgreSQL and other RDBMS?"
- Previous message: Daniel Tryba: "Re: Disconnecting client browser from php file"
- In reply to: Daniel Tryba: "Re: Reality Check: Session Hijacking"
- Next in thread: Adriaan: "Re: Reality Check: Session Hijacking"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 7 May 2004 18:09:39 -0700
Daniel Tryba <news_comp.lang.php@canopus.nl> wrote in message news:<c7fvlg$nn7$1@news.tue.nl>...
> Everything in a http request/response isn't secure. If someone is
> sniffing data (kind of man-in-the-middle attack) your screwed unless all
> data is being encrypted (with something like ssl). But hte problem in
> most cases isn't sniffing... it's crosssite scripting bugs enabeling
> potential harmful (java)script to send data to a 3rd party, this script
> isn't limited to cookies...
>
> It's a shame you're not responding to my suggestion not to use static
> data in the post fields... because your solution is nothing more than
> disabling sessioncookies and putting the session identifier in forms
> (which php already has support for AFAIK).
You're closer, but what you're talking about is each user having two
session cookies. Or, you're talking about all apps on the site that
use sessions being over https, and the http apps/pages couldn't have
sessions. One of the two. In PHP.ini I only see one way to specify
cookie name:
; Name of the session (used as cookie name).
session.name = PHPSESSID
Can I have two distinct sessions per user with php?
In any case, once again, that's not what that zend site says to do.
They're promoting Adriaan's insecure way.
thanks for weighing in
- Next message: Daniel Morgan: "Re: What so special about PostgreSQL and other RDBMS?"
- Previous message: Daniel Tryba: "Re: Disconnecting client browser from php file"
- In reply to: Daniel Tryba: "Re: Reality Check: Session Hijacking"
- Next in thread: Adriaan: "Re: Reality Check: Session Hijacking"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|