Forum Moderators: phranque
This is the code I have in my .htaccess file:
AuthName "Deny Access"
AuthType Basic
<Limit GET POST>
order allow,deny
</Limit>
I hope this makes sense.
To accomplish that, just create a dummy index.html and put it in the images directory. That page will then be loaded instead of the directory list.
Or, you can add the line
Options -Indexes
Jim
Would this also keep site rippers from getting the images very easily?
In a word no, qualified by, if the links to
the images exist on your html pages, and the
links can be navigated to, then a site ripper
that is recursively traversing the pages will
find the images.
If you then deny by agent, the site ripper can
change the agent it sends.
If you then deny by referer, the site ripper can
be sure to send you the correct referer.
+++