What is htaccess File ?
htaccess file is very important file for web developer. htaccess file mainly used to URL redirection of your website. Most of Hackers directly attack to htaccess file so they can easily Hack your website using htaccess file.
How to Disable Directory Listing Using htaccess File ?
To disable directory listing using htaccess file follow this steps :-
1) Open your htaccess file in notepad .
2) write below code into htaccess file :
# Disable directory listing
3) Done .