How to Stop A Directory Index From Being Shown
Sometimes, for one reason or another, you’ll don’t have any index file in your directory.
This will, of course, mean that if somebody type the directory name into their browser, a full listing of all the files in that directory are going to be shown, that may be a security risk for your website.
To prevent against this (without creating ample new ‘index’ files), you’ll be able to enter a command into your .htaccess file to prevent the directory list from being shown: Options -Indexes.