The Directory Listing occurs when you visit a directory that does not have an index file. While it is highly recommended that each folder have an index file (even a blank one), you can also prevent the listing of the files and folders from within your cPanel.
Below is an article on doing so using the Index Manager:
How to prevent the index listing page via the Index Manager
|Email:||support@WebHostingHub.com||Ticket:||Submit a Support Ticket|
|Chat:||Click To Chat Now|