Re: header() vs HTTP_REFERER (Netscape 6)

From: Date: Sat, 31 Mar 2001 00:39:46 +0000
Subject: Re: header() vs HTTP_REFERER (Netscape 6)
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-46407@lists.php.net to get a copy of this message
HTTP_REFERER is set by browser. I treat HTTP_REFERER header as user input, so I don't trust it. Using HTTP_REFERER can open security hole in your web site. I suggest to change your authentication code, so that you don't rely on HTTP_REFERER. Regards, -- Yasuo Ohgaki ""Scott Fletcher"" <scott@abcoa.com> wrote in message news:9a2cpr$5d0$1@toye.p.sourceforge.net... > I had now found the problem. The website that have been in use for a > while work pretty well with IE and Netscape Navigator. Until NS6 came, > that's when the website start having some problem. > The website use the login page and any web pages after logging are > controlled by the security check. Security check is made of scripts that > check to be sure there is no direct access attempt and it also use the cache > expiration, etc. > So, I noticed when I use the HTTP_REFERER on every web pages as part of > the security check, it work pretty well. However, when I use the php code, > "header();" and automatically go to the next web page, the HTTP_REFERER > can't recieve data from the last page that use the php code, "header();". > It only affected NS6, it doesn't affected IE and Netscape Navigator. > > Why is that? What is the work-around to this problem? > > Thanks, > Scott > > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net > For additional commands, e-mail: php-general-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net >

« previous php.general (#46407) next »