summaryrefslogtreecommitdiffstats
path: root/debian/config-dir/conf-available/no-frames.conf
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 15:17:11 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 15:17:11 +0000
commit1ef63e888037746e8ecefb3ff9072c77c356ef14 (patch)
tree3f033396a2ab750bd2aa58e01a9df7a796b7f3f8 /debian/config-dir/conf-available/no-frames.conf
parentSetting Cache-Control headers to "max-age=0, no-cache, no-store, no-transform... (diff)
downloadapache2-1ef63e888037746e8ecefb3ff9072c77c356ef14.tar.xz
apache2-1ef63e888037746e8ecefb3ff9072c77c356ef14.zip
Setting X-Frame-Options to deny.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-rw-r--r--debian/config-dir/conf-available/no-frames.conf5
1 files changed, 5 insertions, 0 deletions
diff --git a/debian/config-dir/conf-available/no-frames.conf b/debian/config-dir/conf-available/no-frames.conf
new file mode 100644
index 0000000..93b0428
--- /dev/null
+++ b/debian/config-dir/conf-available/no-frames.conf
@@ -0,0 +1,5 @@
+# /etc/apache2/conf-available/no-frames.conf
+
+<IfModule mod_headers.c>
+ Header always set X-Frame-Options "deny"
+</IfModule>