NYCPHP Meetup

NYPHP.org

[nycphp-talk] Image directory restriction

Mark Withington mwithington at PLMresearch.com
Wed Aug 31 09:48:46 EDT 2005


Here's a link that my brother suggested
http://www.alistapart.com/articles/hotlinking/ for those interested.  Think
this might do the trick.

--------------------------
Mark L. Withington
PLMresearch
v: 508-746-2383
m: 508-801-0181
Calendar: http://www.plmresearch.com/calendar.php



> -----Original Message-----
> From: talk-bounces at lists.nyphp.org 
> [mailto:talk-bounces at lists.nyphp.org] On Behalf Of Jerry B. Altzman
> Sent: Wednesday, August 31, 2005 9:20 AM
> To: NYPHP Talk
> Subject: Re: [nycphp-talk] Image directory restriction
> 
> 
> On 8/31/2005 9:11 AM, Mark Withington wrote:
> > Perhaps a dumb question, can anyone recommend an effective way to 
> > restrict direct access to an images subdirectory?  Specifically, I 
> > would like to serve up images _only_ through .php scripts on the 
> > server, not directly via a URL....
> 
> Put an .htaccess in the directory so that you can't browse to 
> it at all, 
> and have php include() the file in the web page directly? Or 
> read it in 
> and print it out?
> 
> maybe?
> 
> //jbaltz
> -- 
> jerry b. altzman        jbaltz at altzman.com              KE3ML
> thank you for contributing to the heat death of the universe. 
> _______________________________________________
> New York PHP Talk Mailing List
> AMP Technology
> Supporting Apache, MySQL and PHP 
> http://lists.nyphp.org/mailman/listinfo/talk
> http://www.nyphp.org
> 



More information about the talk mailing list