Re: Can I prevent Server variables from being spoofed ?

From: Date: Fri, 20 May 2005 21:32:22 +0000
Subject: Re: Can I prevent Server variables from being spoofed ?
References: 1 2 3  Groups: php.general 
Request: Send a blank email to php-general+get-215677@lists.php.net to get a copy of this message
Graham Anderson wrote:
are there any php methods that can accurately determine who the client is? mine is pretty basic...if I am a browser, then deny access
What you want is not possible. I guarantee you that I can make it so that you can't tell whether a particular request I send is coming from Firefox or just me copy/pasting an identical request into a raw telnet connection. Why is it important for you to deny access to certain user agents? I don't quite understand your problem. In fact, I find it annoying when a web application forces me to spoof my user agent just to use it. Chris -- Chris Shiflett Brain Bulb, The PHP Consultancy http://brainbulb.com/

« previous php.general (#215677) next »