<FilesMatch "\.(gif|jpe?g|png|pdf)$\">
Allow from all
</FilesMatch>

<Directory>
Order deny,allow
Deny from all
</Directory>
