I have a directory /public_html/ABCD/
And too many sub directories into it, like
You can see everything in that directory simply by typing "http://www.example.com/Directory_name/"
This article show you how you can configure your web server so that it does not show a directory listing by default.
Add the following line to your .htaccess file.
If you want to enable it,
If we want that some particular extension will not show than.
IndexIgnore *.zip *.css *.json *.pdf
If we want to index our files and showing it with some information than use.