# Prevent PHP execution in uploads directory
<FilesMatch "\.php$">
    Order Allow,Deny
    Deny from all
</FilesMatch>

# Allow image and PDF access
<FilesMatch "\.(jpg|jpeg|png|webp|pdf)$">
    Order Allow,Deny
    Allow from all
</FilesMatch>
