Options -Indexes
Deny from all
<FilesMatch '\.(jpg|jpeg|png|pdf)$'>
    Allow from all
</FilesMatch>