# Yüklenen ürün görsellerinde kod çalıştırma kapalı; yalnızca görsel dosyaları sunulur
<IfModule mod_php.c>
    php_flag engine off
</IfModule>
<IfModule mod_php7.c>
    php_flag engine off
</IfModule>
<IfModule mod_php8.c>
    php_flag engine off
</IfModule>
<IfModule php_module>
    php_flag engine off
</IfModule>

RemoveHandler .php .phtml .phar .php3 .php4 .php5 .php7 .php8 .pht
RemoveType .php .phtml .phar

<FilesMatch ".*">
    Require all denied
</FilesMatch>
<FilesMatch "\.(jpe?g|png|webp)$">
    Require all granted
</FilesMatch>

<IfModule mod_headers.c>
    Header always set X-Content-Type-Options "nosniff"
    Header always set Content-Security-Policy "default-src 'none'; img-src 'self'; style-src 'none'; sandbox"
</IfModule>
