Permalink
Browse files

ClickJacking protection

git-svn-id: https://adminer.svn.sourceforge.net/svnroot/adminer/trunk@1150 7c3ca157-0c34-0410-bff1-cbf682f78f5c
  • Loading branch information...
jakubvrana
jakubvrana committed Sep 25, 2009
1 parent a1609c7 commit 7a19c3d6491371776aafeb13d37eb97d70c212c3
Showing with 2 additions and 0 deletions.
  1. +1 −0 adminer/include/design.inc.php
  2. +1 −0 changes.txt
@@ -2,6 +2,7 @@
function page_header($title, $error = "", $breadcrumb = array(), $title2 = "") {
global $LANG, $VERSION, $adminer;
header("Content-Type: text/html; charset=utf-8");
+ header("X-Frame-Options: deny"); // ClickJacking protection in IE8, Safari 4, Chrome 2, NoScript plugin
$title_all = $title . (strlen($title2) ? ": " . h($title2) : "");
?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN">
View
@@ -3,6 +3,7 @@ Display table links above table structure
Fix removed default in ALTER
Display whitespace in texts (bug #2858042)
Display number of manipulated rows in JS confirm
+ClickJacking protection in modern browsers
E-mail attachments (Editor)
Optional year in date (Editor)
Search operators (Editor)

0 comments on commit 7a19c3d

Please sign in to comment.