library/Haste/Security/HttpResponse.php
public static function addXFrame()
    {
        global $objPage;

        $arrSkipPages = deserialize(\Config::get('headerXFrameSkipPages'), true);

        if (in_array($objPage->id, $arrSkipPages))
        {
            return;
        }

        header("X-Frame-Options: SAMEORIGIN");
    }
public static function addXFrame()
    {
        global $objPage;

        $arrSkipPages = deserialize(\Config::get('headerXFrameSkipPages'), true);

        if (in_array($objPage->id, $arrSkipPages))
        {
            return;
        }

        header("X-Frame-Options: SAMEORIGIN");
    }
public static function addXFrame ( ) { global $ objPage ; $ arrSkipPages = deserialize ( \ Config :: get ( 'headerXFrameSkipPages' ) , true ) ; if ( in_array ( $ objPage -> id , $ arrSkipPages ) ) { return ; } header ( "X-Frame-Options: SAMEORIGIN" ) ; }
Protect against IFRAME Clickjacking
Protect against IFRAME Clickjacking