2009/1/26 R B <rbp...@gmail.com>:
> Is there a way to be sure that a website is going to be accessed only by
> traditional browsers and not from another
> software that send to the server the same headers of any of the traditional
> browsers?
> For example, supose that i only want to give access to my site users from
> firefox, ie, chrome and safari, because
> i know that the users can´t download the copyright information of the
> website to the temporary files with anyone
> of this browsers.
>
> How can i be sure that someone that develop a mini-browser or a software
> can´t access my site sending the same
> header information of traditional browsers?
>
> In this case, the validation of HTTP_USER_AGENT isn´t a solution.

As Rob has so eloquently said, you can't. Might I suggest you address
the problem you've created, that of viewing the copyright info, rather
than trying to control what people do with your publicly accessible
site, which is a battle you can't win.

-Stuart

-- 
http://stut.net/

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

Reply via email to