people directory
people directory

How do I prevent people from having access to a directory?
How can I prevent people from images directory on my site? I really do not want to make hundreds of index files that point to the home page. Is there something I can chmod, for example? What should I do if I can find a. Htaccess?
Chmod do not think you do what you want. I think it only controls the access permissions files of the operating system. With my hosting company, cPanel is a feature called "Hotlink Protection", which means a file type (. jpg,. gif, etc.) so that only you can access from pages that you specify on your site. To prevent people from indexing, even a directory of images (or any other directory without an index file) you can place the line "Options-Indexes" in place ". htaccess 'file.

