Order Allow,Deny 
Deny from all 

<FilesMatch "\.(jpg|gif|png|php|webp|ico|svg|js)$">
Order Deny,Allow
   Allow from all
</FilesMatch>