Options -Indexes
<FilesMatch "\.(pdf|PDF)$">
    order allow,deny
    deny from all
</FilesMatch>

ErrorDocument 403 "Access Denied!"