More specifically, I have an htaccess file that restricts anyone from seeing the directory contents. Such that, nobody can see my 1000s of images in www.example.com/images by us
deny from all allows files to be used by server side scripts but restricts complete web access.
deny from all