SWC Blog

SWC Blog

The HTTP X-Frame-Options header

The X-Frame-Options options header can be used to stop other websites opening your webpages inside a FRAME or IFRAME.

You can set it in server config, virtual hosts, .htaccess or HTML

Here is an HTML example

<!-- dont open this page in an iframe -->
<meta name="header" content="X-Frame-Options: DENY" >

And a server config example

# allow pages from this domain name to open pages in iframes, no one else
Header always append X-Frame-Options SAMEORIGIN

This page explains all

1 comment:

  1. Top 3 Sportsbook - 1Xbet Korean Football Betting Site
    Top 3 Sportsbook · 1XBet · 1xBet · 1xbet korean 1xbet link 12bet · 1xbet · 1xbet · 1xbet Sportsbet · 1xbet · 1xbet Sportsbet · 1xbet Sportsbook · 1xbet 온카지노 Sportsbet.

    ReplyDelete