: Add Options -Indexes to your .htaccess file in the directory you want to protect.
This exact syntax often appears in: