# Secure uploads directory
# Allow image access but prevent directory listing

# Disable directory browsing
Options -Indexes

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

# Deny access to metadata files
<FilesMatch "\.meta$">
    Order Deny,Allow
    Deny from all
</FilesMatch>
