FW: [PHP] restricting access to images
| From: | Michael Packer | Date: | Mon, 02 Oct 2000 12:56:51 +0000 |
| Subject: | FW: [PHP] restricting access to images | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-18271@lists.php.net to get a copy of this message | ||
From: "Kurth Bemis" <kurth@usaexpress.net>
To: "Eric" <edahnke@istreetlabs.com>
Sent: Sunday, October 01, 2000 10:29 PM
Subject: Re: [PHP] restricting access to images
> At 07:08 PM 10/1/2000 -0400, Eric wrote:
>
> try this - i used it for disallowing access to my .inc files..stick it in
> your httpd.conf file
>
> # The following lines prevent .inc files from being viewed by web
> # clients.
>
> <Files ~ ".inc">
> Order allow,deny
> Deny from all
> </Files>
>
> i'd make it so it reads
>
> # The following lines prevent image files from being viewed by web
> # clients.
>
> <Files ~ ".jpg">
> Order allow,deny
> Deny from all
> </Files>
>
> there you go!
okay...but how exactly does that solve any problem? all that does is make
all JPG's unviewable by anyone....i believe he asked a different question.