Re: restricting access to images

From: Date: Mon, 02 Oct 2000 02:29:55 +0000
Subject: Re: restricting access to images
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-18236@lists.php.net to get a copy of this message
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! ~kurth
that site mentions something about enabling redirection in apache. made sense, but i'm wondering if there is not something simpler like having differing php and apache DocumentRoots? something with permissions?. thanx. any other suggestions. Gorka Valencia wrote: I think you may find the solution here: http://www.anti-leech.com - regards, Gorka Valencia Eric wrote:
hello, if i have some images in say /img/various.jpgs. how can i stop someone from putting www.site.com/img/various.jpgs into their browser and seeing the images, yet at the same time use /img/various.jpgs as valid img srcs= within my pages? realms? permissions? most likely something in apache eh? thx a lot - eric -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net For additional commands, e-mail: php-general-help@lists.php.net To contact the list administrators, e-mail: php-list-admin@lists.php.net
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net For additional commands, e-mail: php-general-help@lists.php.net To contact the list administrators, e-mail: php-list-admin@lists.php.net -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net For additional commands, e-mail: php-general-help@lists.php.net To contact the list administrators, e-mail: php-list-admin@lists.php.net
Kurth Bemis - Network/Systems Administrator, USAExpress.net/Ozone Computer kurth@usaexpress.net http://www.usaexpress.net/kurth ICQ - 6624050 Call Sign - N1TYW PGP key available - http://www.usaexpress.net/kurth/pgp Fight Weak Encryption! Donate your wasted CPU cycles to Distributed.net (http://www.distributed.net)

« previous php.general (#18236) next »