<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>https://wiki.owasp.org/index.php?action=history&amp;feed=atom&amp;title=CRV2_ClientSideCodeJackingFraming</id>
		<title>CRV2 ClientSideCodeJackingFraming - Revision history</title>
		<link rel="self" type="application/atom+xml" href="https://wiki.owasp.org/index.php?action=history&amp;feed=atom&amp;title=CRV2_ClientSideCodeJackingFraming"/>
		<link rel="alternate" type="text/html" href="https://wiki.owasp.org/index.php?title=CRV2_ClientSideCodeJackingFraming&amp;action=history"/>
		<updated>2026-04-27T10:48:41Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.27.2</generator>

	<entry>
		<id>https://wiki.owasp.org/index.php?title=CRV2_ClientSideCodeJackingFraming&amp;diff=179853&amp;oldid=prev</id>
		<title>Larry Conklin at 15:15, 3 August 2014</title>
		<link rel="alternate" type="text/html" href="https://wiki.owasp.org/index.php?title=CRV2_ClientSideCodeJackingFraming&amp;diff=179853&amp;oldid=prev"/>
				<updated>2014-08-03T15:15:08Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;tr style='vertical-align: top;' lang='en'&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;Revision as of 15:15, 3 August 2014&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l24&quot; &gt;Line 24:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 24:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160;&amp;#160; &amp;#160; else { top.location = self.location; } &amp;#160;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160;&amp;#160; &amp;#160; else { top.location = self.location; } &amp;#160;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160;&amp;#160; &amp;#160; &amp;lt;/script&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160;&amp;#160; &amp;#160; &amp;lt;/script&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;To avoid click jacking or Cross Site Request Forgery of the website, look for implementation of X-Frame-Options .Keep in mind that this code might not work on legacy browsers. The website http://erlend.oftedal.no/blog/tools/xframeoptions/ does a compatibility test on the browser’s x-frame-options support.&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Larry Conklin</name></author>	</entry>

	<entry>
		<id>https://wiki.owasp.org/index.php?title=CRV2_ClientSideCodeJackingFraming&amp;diff=159655&amp;oldid=prev</id>
		<title>EoinKeary: Created page with &quot;In order to help prevent clickjacking or UI redress attacks one of the following headers should be in all HTTP response headers.  '''X-Frame-Options HTTP Response Header'''  /...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.owasp.org/index.php?title=CRV2_ClientSideCodeJackingFraming&amp;diff=159655&amp;oldid=prev"/>
				<updated>2013-10-03T14:39:24Z</updated>
		
		<summary type="html">&lt;p&gt;Created page with &amp;quot;In order to help prevent clickjacking or UI redress attacks one of the following headers should be in all HTTP response headers.  &amp;#039;&amp;#039;&amp;#039;X-Frame-Options HTTP Response Header&amp;#039;&amp;#039;&amp;#039;  /...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;In order to help prevent clickjacking or UI redress attacks one of the following headers should be in all HTTP response headers.&lt;br /&gt;
&lt;br /&gt;
'''X-Frame-Options HTTP Response Header'''&lt;br /&gt;
&lt;br /&gt;
// to prevent all framing of this content &lt;br /&gt;
'''response.addHeader( &amp;quot;X-FRAME-OPTIONS&amp;quot;, &amp;quot;DENY&amp;quot; );''' &lt;br /&gt;
&lt;br /&gt;
// to allow framing of this content only by this site &lt;br /&gt;
'''response.addHeader( &amp;quot;X-FRAME-OPTIONS&amp;quot;, &amp;quot;SAMEORIGIN&amp;quot; );''' &lt;br /&gt;
&lt;br /&gt;
// to allow framing from a specific domain &lt;br /&gt;
'''response.addHeader( &amp;quot;X-FRAME-OPTIONS&amp;quot;, &amp;quot;ALLOW-FROM X&amp;quot; );'''&lt;br /&gt;
&lt;br /&gt;
Older browsers dont usderstand the above headers.&lt;br /&gt;
In order to help prevent regress attacks we may see the following code on the client side files.&lt;br /&gt;
&lt;br /&gt;
    '''Legacy Browser Clickjacking Defense'''&lt;br /&gt;
    &amp;lt;style id=&amp;quot;antiCJ&amp;quot;&amp;gt;body{display:none !important;}&amp;lt;/style&amp;gt; &lt;br /&gt;
    &amp;lt;script type=&amp;quot;text/javascript&amp;quot;&amp;gt; &lt;br /&gt;
    if (self === top) &lt;br /&gt;
    { var antiClickjack = document.getElementByID(&amp;quot;antiCJ&amp;quot;); &lt;br /&gt;
    antiClickjack.parentNode.removeChild(antiClickjack) &lt;br /&gt;
    } &lt;br /&gt;
    else { top.location = self.location; } &lt;br /&gt;
    &amp;lt;/script&amp;gt;&lt;/div&gt;</summary>
		<author><name>EoinKeary</name></author>	</entry>

	</feed>