# Uploaded images are re-encoded by the app to random "<24 hex chars>.jpg" names.
# Allow ONLY that exact pattern; deny everything else (scripts, double extensions, html, ...).
Options -Indexes -ExecCGI
<FilesMatch "^(?![a-f0-9]{24}\.jpg$).*$">
  Require all denied
</FilesMatch>
<IfModule mod_php.c>
  php_flag engine off
</IfModule>
<IfModule mod_php8.c>
  php_flag engine off
</IfModule>
