Popular website building platforms like WordPress automatically prevent others from browsing admin files but then also there are some folders that can be browsed using explorer in web browsers like Google Chrome & Firefox etc.
In this lesson we will show you how you can prevent others from browsing your website files.
All you have to do is login to your website root directory and open .htaccess file for editing.
Options All -Indexes
Now add the given line of code, save your file and that’s it.