<p>A directory listing provides an attacker with the complete index of all the resources located inside of the directory. The specific risks and consequences vary depending on which files are listed and accessible.</p>r
<p>Therefore, it is important to protect your directories by having an empty index.php or index.htm file inside them.</p>