Re: Can I prevent Server variables from being spoofed ?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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/

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux