Re: Non-traditional software accessing my website
| From: | Stuart | Date: | Mon, 26 Jan 2009 19:53:17 +0000 |
| Subject: | Re: Non-traditional software accessing my website | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-287164@lists.php.net to get a copy of this message | ||
2009/1/26 R B <rbpphp@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/