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