Add this code to your .htaccess file:
# .htaccess protection
deny from all
For security purposes, we recommend that you to disable directory browsing on your website so no one can see the files/folders of your website.You can disable Directory Browsing by adding this line...
In order to secure your admin area from hackers, we recommended you to allow access only from your selected IP to your admin directory. You just need to create an .htaccess file in the directory...