It's hard to believe in coincidence but the truth is that lot of developers including senior ones, don't know or bother about this security issue.
Options -Indexes -FollowSymLinks
1. Create ".htaccess" file if not exist in your root directory.
2. Paste this code "Options -Indexes -FollowSymLinks" in your ".htaccess" file
3. Save the file.