diff --git a/common.php b/common.php index 8bedc808..b45522d3 100644 --- a/common.php +++ b/common.php @@ -27,6 +27,9 @@ if (!defined('POSTFIXADMIN')) { # already defined if called from setup.php if (empty($_SESSION['flash'])) { $_SESSION['flash'] = array(); } + + // avoid clickjacking attacks? + header('X-Frame-Options: DENY'); } }