Options -Indexes
Deny from all
<FilesMatch "\.(jpg|jpeg|png|gif|webp|mp4|webm|mov|mp3|wav|ogg|pdf)$">
    Allow from all
</FilesMatch>