I'd like to know if there is some way I can protect a directory from calling url's/ip's but allow access to one set url/ip. The called urls are all images. Is this possible. Thanks, Steve
if you are using apache web server you could just turn off directory browsing by changing the directive block
Hi!
You should take a look at http://httpd.apache.org/docs/mod/core.html#filesmatch. I'm using this directive in an .htacces file to make a directory "images-only": Order allow,deny Deny from all <FilesMatch ".(gif|jpeg|jpg|jpe|png)$"> Order allow,deny Allow from all </FilesMatch>
Leif
I found a way. Thanks though
Prevent Hot Linking of Images using .htaccess
http://www.javascriptkit.com/howto/htaccess10.shtml
Later, Steve