Re: HTTP_REFERER security implications?

From: Date: Mon, 10 Mar 2003 19:38:51 +0000
Subject: Re: HTTP_REFERER security implications?
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-139010@lists.php.net to get a copy of this message
Tom, This will completely break in AOL. An AOL user's referer changes all the time. Joseph "Tom Woody" <woody@nfri.com> wrote in message news:20030310105358.699cddd4.woody@nfri.com... > I am working on a simple authentication script, where the user submits a > login and password, the credentials are checked and the user is > redirected to another script. The new script checks the HTTP_REFERER > and if its the original script it continues, otherwise it stops with a > message about being unauthorized. > > What kind of security implications may I be backing myself into? I want > to try and stay away from cookies, and as small as this is I think > Session management is a little overkill. The average user isn't going > to spend much more than 1 or 2 minutes on the site (not much for them to > see or do). I have seen this method used on other sites, but I prefer > to check with the experts first. > > thanks, > > -- > Tom

« previous php.general (#139010) next »