# Güvenlik: Yüklenen dosyalarda sunucu tarafı kod ÇALIŞTIRILAMAZ.
<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>

# Betik uzantılarını doğrudan çalıştırmayı engelle
<FilesMatch "\.(php|php3|php4|php5|php7|php8|phtml|pht|phar|cgi|pl|py|asp|aspx|sh)$">
    Require all denied
</FilesMatch>

# SVG'leri güvenli sun (SVG içine gömülü betiğe karşı)
<IfModule mod_headers.c>
    <FilesMatch "\.svg$">
        Header set Content-Security-Policy "script-src 'none'"
    </FilesMatch>
</IfModule>
