php3-list | 199901
Date: 01/13/99
- Next message: Colin Viebrock: "[PHP3] Man! Our design is the best!"
- Previous message: PHP: "[PHP3] [PHP3 -> MSSQL Server]"
- Next in thread: Samuel Liddicott: "RE: [PHP3] $REMOTE_ADDR ??"
- Reply: Samuel Liddicott: "RE: [PHP3] $REMOTE_ADDR ??"
- Maybe reply: Richard Lynch: "RE: [PHP3] $REMOTE_ADDR ??"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Just something I was wondering about.. with all the discussion's about
sessions and security. I was building an authentication script a few
weeks ago. and what I'm doing is setting a cookie to the persons browser
after they log in, with the session ID in it. that is referenced against
a session table. the session table also contains the $REMOTE_ADDR of the
user. so when a user visits a secured page, the page looks up their
session number in the DB, then compares the stored $REMOTE_ADDR with the
users current $REMOTE_ADDR. if they do not match, it kills the session
and directs them to a login screen. What I was wondering is, are there
any browsers that will not transmit the $REMOTE_ADDR ??
Right now this script is just for securing the administration area of a
website so it doesn't matter so much there becuase we have more control
over the population of users accessing it, but there may be some
projects in the near future where I would want to use it to secure pages
on the general public side of a website.
Any insight would be greatly appreciated!
Thanks,
Jeremiah Davis
jdavis <email protected>
-- PHP 3 Mailing List http://www.php.net/ To unsubscribe send an empty message to php3-unsubscribe <email protected> To subscribe to the digest list: php3-digest-subscribe <email protected> For help: php3-help <email protected> Archive: http://www.php.net/mailsearch.php3 List administrator: zeev <email protected>
- Next message: Colin Viebrock: "[PHP3] Man! Our design is the best!"
- Previous message: PHP: "[PHP3] [PHP3 -> MSSQL Server]"
- Next in thread: Samuel Liddicott: "RE: [PHP3] $REMOTE_ADDR ??"
- Reply: Samuel Liddicott: "RE: [PHP3] $REMOTE_ADDR ??"
- Maybe reply: Richard Lynch: "RE: [PHP3] $REMOTE_ADDR ??"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

