Order Deny,Allow
Deny From All
<Files ~ "\.(js|png|gif|jpg|jpeg)$">
   Order Deny,Allow
   allow from all
</Files>