# Uploads must never execute code. Keep in sync with MediaUploadService::UPLOAD_HTACCESS.
php_flag engine off
AddType text/plain .php .php3 .php4 .php5 .php7 .php8 .phtml .phar .pl .py .cgi .asp .sh
RemoveHandler .php .php3 .php4 .php5 .php7 .php8 .phtml .phar
Options -ExecCGI -Indexes
<IfModule mod_headers.c>
    Header set X-Content-Type-Options "nosniff"
    Header set Content-Security-Policy "default-src 'none'; img-src 'self'; style-src 'none'; script-src 'none'; sandbox"
</IfModule>
