# OPTIONS -ExecCGI

# deny everything
<FilesMatch ".*">
Order Allow,Deny
Deny from all
</FilesMatch>

# now allow just certain necessary files
<FilesMatch ".*\.(?i:js)$">
Order Allow,Deny
Allow from all
</FilesMatch>