# Prevent PHP execution in uploads directory
<FilesMatch "\.(php|phtml|php3|php4|php5|phps|phar)$">
    Require all denied
</FilesMatch>

# Only allow serving image files
<FilesMatch "\.(jpg|jpeg|png|gif|webp|svg|ico)$">
    Require all granted
</FilesMatch>

# Disable directory listing
Options -Indexes
