# تصاویر قابل نمایش‌اند، اما اجرای هر نوع کد ممنوع است.
<IfModule mod_authz_core.c>
    Require all granted
</IfModule>
<IfModule !mod_authz_core.c>
    Order allow,deny
    Allow from all
</IfModule>
Options -Indexes -ExecCGI
<IfModule mod_php.c>
    php_flag engine off
</IfModule>
<FilesMatch "(?i)\.(php[0-9]?|phtml|phar|pl|py|cgi|sh)(\.|$)">
    Require all denied
</FilesMatch>
<FilesMatch "(?i)^(?!.*\.(png|jpe?g|webp|gif|svg|ico)$).*">
    Require all denied
</FilesMatch>
AddType image/svg+xml .svg
<IfModule mod_headers.c>
    <FilesMatch "(?i)\.svg$">
        Header set Content-Security-Policy "sandbox; default-src 'none'; style-src 'none'"
    </FilesMatch>
    Header set X-Content-Type-Options "nosniff"
</IfModule>
