Options -Indexes

<FilesMatch "\.(php|phar|phtml|cgi|pl|py|sh|exe|bin|js)$">
  Deny from all
</FilesMatch>

<IfModule mod_headers.c>
  Header set X-Content-Type-Options "nosniff"
</IfModule>
