# Allow access to QR code images
<Files ~ "\.(jpg|jpeg|png|gif|webp)$">
    Order allow,deny
    Allow from all
</Files>

# Prevent directory listing
Options -Indexes

# Prevent access to other file types
<Files ~ "\.(php|txt|log|sql)$">
    Order deny,allow
    Deny from all
</Files>

