Browse code

Setze X-FRAME-OPTIONS um Clickjacking zu verhindern

git-svn-id: https://svn.schokokeks.org/repos/tools/webinterface/trunk@1806 87cf0b9e-d624-0410-a070-f6ee81989793

bernd authored on08/09/2010 11:35:06
Showing1 changed files
... ...
@@ -57,7 +57,8 @@ foreach ($submenu AS $weight => $data) {
57 57
 
58 58
 DEBUG($submenu);
59 59
 
60
-
60
+// Verbiete das Laden in jeglichem Frameset
61
+header("X-FRAME-OPTIONS: DENY");
61 62
 header("Content-Type: ".config('mime_type'));
62 63
 ?>
63 64
 <?php echo '<?xml version="1.0" encoding="utf-8"?>'."\n"; ?>