<IfModule mod_headers.c>
  <FilesMatch "(?<!\.pdf)$">
    Header set Content-Security-Policy "default-src 'self' data: https://api.friendlycaptcha.com/ https://www.google.com; script-src 'self' 'unsafe-inline' 'unsafe-eval' blob: https://www.google.com https://www.gstatic.com; img-src 'self' data:; style-src 'self' 'unsafe-inline'; object-src 'none'; frame-ancestors 'none';"
  </FilesMatch>
</IfModule>

<IfModule mod_authz_host.c>
  <Files "*.wss">
    Require all denied
  </Files>

  <Files "*.sgt">
    Require all denied
  </Files>
</IfModule>

<IfModule mod_rewrite.c>
  RewriteEngine on
  # Wenn keine Datei und kein Verzeichnis
  RewriteCond %{REQUEST_FILENAME} !-f
  RewriteCond %{REQUEST_FILENAME} !-d
  RewriteRule .* %{REQEST_URI%}?tool_id=0&action=404 [L]
</IfModule>