# Sicherheits-Protection für Upload-Verzeichnis
# Alle Dateien sind nur über Proxy-Scripts zugänglich

# Apache 2.4+
<IfModule mod_authz_core.c>
    Require all denied
</IfModule>

# Apache 2.2 (fallback)
<IfModule !mod_authz_core.c>
    Order Deny,Allow
    Deny from all
</IfModule>

# Ausnahmen: Nur PHP-Scripts dürfen ausgeführt werden (falls nötig)
<FilesMatch "\.php$">
    <IfModule mod_authz_core.c>
        Require all granted
    </IfModule>
    <IfModule !mod_authz_core.c>
        Order Allow,Deny
        Allow from all
    </IfModule>
</FilesMatch>

