From 5f9287af78a3f17d8737fa87adbd91a5182f7953 Mon Sep 17 00:00:00 2001 From: SenkaWolf Date: Sun, 19 Jan 2025 14:31:00 +0000 Subject: [PATCH] Prevent clickjacking attack --- .htaccess | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.htaccess b/.htaccess index 0dc81bd5..d30ed4e5 100644 --- a/.htaccess +++ b/.htaccess @@ -6,3 +6,5 @@ Options -Indexes +SymLinksIfOwnerMatch RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^(.*)$ index.php [QSA,L] + +Header always set X-Frame-Options "DENY" \ No newline at end of file