Here is a very simple, but effective way to stop web users being able to see the contents of a folder on a web host.
put index.htm file in the folder.
When the web user navigates to the folder, the index.htm file will display, rather than the contents of the folder.
The htm file can be empty, in which case the browser ill display a blank page.
Simple.. but effective!