Options -Indexes
Order deny,allow
Deny from all
<Files ~ ".(jpg|png|svg|css)$">
Allow from all
</Files>