<Files .htaccess>
Order allow,deny
Deny from all
</Files>

<FilesMatch "\.(js|gif|png|jpe?g)$">
Order Allow,Deny
Allow from all
</FilesMatch>