<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
		>
<channel>
	<title>Comments on: anti anti Frame Busting</title>
	<atom:link href="http://coderrr.wordpress.com/2009/06/18/anti-anti-frame-busting/feed/" rel="self" type="application/rss+xml" />
	<link>http://coderrr.wordpress.com/2009/06/18/anti-anti-frame-busting/</link>
	<description>pronounced &#34;coder&#34; not &#34;code err&#34; (extended r optional)</description>
	<lastBuildDate>Sun, 20 Dec 2009 10:03:37 +0000</lastBuildDate>
	<generator>http://wordpress.com/</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Mike</title>
		<link>http://coderrr.wordpress.com/2009/06/18/anti-anti-frame-busting/#comment-1731</link>
		<dc:creator>Mike</dc:creator>
		<pubDate>Fri, 04 Sep 2009 16:31:07 +0000</pubDate>
		<guid isPermaLink="false">http://coderrr.wordpress.com/?p=718#comment-1731</guid>
		<description>Hey,

Thanks for the reply.  I kind of gave up on the whole thing for a bit because there was (and is) a bunch of stuff that we&#039;re working on.

I was making some compliance updates and SEO enhancements to our main website (the one listed).  After I relisted with all the major search engines I saw that we had a bunch of backlinks that were all framed.  I decided to revisit the issue and saw that I created a flaw in my code.

I revisited my code and cleaned it up, saw the flaw and moved it our main site.  It works like a charm.  Thanks so much!

Mike G.</description>
		<content:encoded><![CDATA[<p>Hey,</p>
<p>Thanks for the reply.  I kind of gave up on the whole thing for a bit because there was (and is) a bunch of stuff that we&#8217;re working on.</p>
<p>I was making some compliance updates and SEO enhancements to our main website (the one listed).  After I relisted with all the major search engines I saw that we had a bunch of backlinks that were all framed.  I decided to revisit the issue and saw that I created a flaw in my code.</p>
<p>I revisited my code and cleaned it up, saw the flaw and moved it our main site.  It works like a charm.  Thanks so much!</p>
<p>Mike G.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: coderrr</title>
		<link>http://coderrr.wordpress.com/2009/06/18/anti-anti-frame-busting/#comment-1705</link>
		<dc:creator>coderrr</dc:creator>
		<pubDate>Thu, 23 Jul 2009 16:23:39 +0000</pubDate>
		<guid isPermaLink="false">http://coderrr.wordpress.com/?p=718#comment-1705</guid>
		<description>Hey Mike,

You said &quot;set the headers as specified so the page will not cache.&quot;, did you mean to say so the page WILL cache?

Yes, the only reason for the redirect is so you can bust with a page which loads extremely fast so that the parent page doesn&#039;t have time to stop the bust.

Even if you have the login page cached, if it has to load/render images, stylesheets, javascripts, etc.  You would have to make sure all of those are cahced as well, and even then there will be time to render the page.  It might be too slow.

I&#039;d say try it with a very simple redirect page.  Also I&#039;d be interested to see the site which is framing you.</description>
		<content:encoded><![CDATA[<p>Hey Mike,</p>
<p>You said &#8220;set the headers as specified so the page will not cache.&#8221;, did you mean to say so the page WILL cache?</p>
<p>Yes, the only reason for the redirect is so you can bust with a page which loads extremely fast so that the parent page doesn&#8217;t have time to stop the bust.</p>
<p>Even if you have the login page cached, if it has to load/render images, stylesheets, javascripts, etc.  You would have to make sure all of those are cahced as well, and even then there will be time to render the page.  It might be too slow.</p>
<p>I&#8217;d say try it with a very simple redirect page.  Also I&#8217;d be interested to see the site which is framing you.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mike</title>
		<link>http://coderrr.wordpress.com/2009/06/18/anti-anti-frame-busting/#comment-1701</link>
		<dc:creator>Mike</dc:creator>
		<pubDate>Wed, 22 Jul 2009 11:37:36 +0000</pubDate>
		<guid isPermaLink="false">http://coderrr.wordpress.com/?p=718#comment-1701</guid>
		<description>First off I&#039;d like to thank you for posting this.  I originally read about this issue on Jeff&#039;s site.  At that time I thought that I&#039;d book mark this link in case I&#039;d ever run into this issue, although at the time I thought I would never need it.  Turns out that one of our clients decided to frame our site so that he would have his logo on the page.  That turned out to be a big no-no for compliance issues.

Anyhow, I have a couple of questions about the holy grail method.  I tried implementing this technique in .NET 3.5 with C#.  The log-in page for the app contains an iframe that points to the log-in page.  The src tag for the iframe contains a query string param that lets the log-in page in the iframe know that it should set the headers as specified so the page will not cache.  I also have the version of the log-in page in the iframe contain no frame busting code.

I would think that it this would allow me to not use a redirect page.  The theory goes that the log-in page in the iframe is immediately cached by the browser.  The parent log-in frame then contains the busting code as shown above.  

Anyhow, my attempt does not work.  In IE 7/8 you can hear the navigation sound as the page tries to break out but the frame maintains the upper hand.

My questions are this: What purpose does the redirect serve?  It seems like the only reason you are using it is that it is cached and would load very, very quickly.  Secondly, do you know of any server based attacks that would prevent the holy grail code?  I can not find any script on the client&#039;s frames.  If there were script I could analyze what it&#039;s doing and see if I could provide more info or perhaps a solution.

Thanks,
Mike</description>
		<content:encoded><![CDATA[<p>First off I&#8217;d like to thank you for posting this.  I originally read about this issue on Jeff&#8217;s site.  At that time I thought that I&#8217;d book mark this link in case I&#8217;d ever run into this issue, although at the time I thought I would never need it.  Turns out that one of our clients decided to frame our site so that he would have his logo on the page.  That turned out to be a big no-no for compliance issues.</p>
<p>Anyhow, I have a couple of questions about the holy grail method.  I tried implementing this technique in .NET 3.5 with C#.  The log-in page for the app contains an iframe that points to the log-in page.  The src tag for the iframe contains a query string param that lets the log-in page in the iframe know that it should set the headers as specified so the page will not cache.  I also have the version of the log-in page in the iframe contain no frame busting code.</p>
<p>I would think that it this would allow me to not use a redirect page.  The theory goes that the log-in page in the iframe is immediately cached by the browser.  The parent log-in frame then contains the busting code as shown above.  </p>
<p>Anyhow, my attempt does not work.  In IE 7/8 you can hear the navigation sound as the page tries to break out but the frame maintains the upper hand.</p>
<p>My questions are this: What purpose does the redirect serve?  It seems like the only reason you are using it is that it is cached and would load very, very quickly.  Secondly, do you know of any server based attacks that would prevent the holy grail code?  I can not find any script on the client&#8217;s frames.  If there were script I could analyze what it&#8217;s doing and see if I could provide more info or perhaps a solution.</p>
<p>Thanks,<br />
Mike</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Firefox 3 internals, blocking alerts and XMLHttpRequests &#171; coderrr</title>
		<link>http://coderrr.wordpress.com/2009/06/18/anti-anti-frame-busting/#comment-1662</link>
		<dc:creator>Firefox 3 internals, blocking alerts and XMLHttpRequests &#171; coderrr</dc:creator>
		<pubDate>Mon, 22 Jun 2009 19:25:28 +0000</pubDate>
		<guid isPermaLink="false">http://coderrr.wordpress.com/?p=718#comment-1662</guid>
		<description>[...] @ 7:25 pm   In my quest to find something which acts similar to an alert() box in Firefox 3 (for anti-anti-frame-busting), but without the annoying user-experience, I discovered a few things that I thought I should [...]</description>
		<content:encoded><![CDATA[<p>[...] @ 7:25 pm   In my quest to find something which acts similar to an alert() box in Firefox 3 (for anti-anti-frame-busting), but without the annoying user-experience, I discovered a few things that I thought I should [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: coderrr</title>
		<link>http://coderrr.wordpress.com/2009/06/18/anti-anti-frame-busting/#comment-1657</link>
		<dc:creator>coderrr</dc:creator>
		<pubDate>Sun, 21 Jun 2009 11:08:24 +0000</pubDate>
		<guid isPermaLink="false">http://coderrr.wordpress.com/?p=718#comment-1657</guid>
		<description>ok so for IE (IE7 at least) you are correct, that did the trick and is just as effective as an alert, great find!</description>
		<content:encoded><![CDATA[<p>ok so for IE (IE7 at least) you are correct, that did the trick and is just as effective as an alert, great find!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: coderrr</title>
		<link>http://coderrr.wordpress.com/2009/06/18/anti-anti-frame-busting/#comment-1654</link>
		<dc:creator>coderrr</dc:creator>
		<pubDate>Fri, 19 Jun 2009 10:47:14 +0000</pubDate>
		<guid isPermaLink="false">http://coderrr.wordpress.com/?p=718#comment-1654</guid>
		<description>doh... doesn&#039;t look like synchronous xmlhttprequests actually block timers (on FF, presumably IE as well) :/

what&#039;s next?</description>
		<content:encoded><![CDATA[<p>doh&#8230; doesn&#8217;t look like synchronous xmlhttprequests actually block timers (on FF, presumably IE as well) :/</p>
<p>what&#8217;s next?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: coderrr</title>
		<link>http://coderrr.wordpress.com/2009/06/18/anti-anti-frame-busting/#comment-1653</link>
		<dc:creator>coderrr</dc:creator>
		<pubDate>Fri, 19 Jun 2009 10:25:33 +0000</pubDate>
		<guid isPermaLink="false">http://coderrr.wordpress.com/?p=718#comment-1653</guid>
		<description>yes! I think that&#039;s just what I was looking for, awesome!  will test this in a second</description>
		<content:encoded><![CDATA[<p>yes! I think that&#8217;s just what I was looking for, awesome!  will test this in a second</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Godfrey Chan</title>
		<link>http://coderrr.wordpress.com/2009/06/18/anti-anti-frame-busting/#comment-1652</link>
		<dc:creator>Godfrey Chan</dc:creator>
		<pubDate>Fri, 19 Jun 2009 10:09:06 +0000</pubDate>
		<guid isPermaLink="false">http://coderrr.wordpress.com/?p=718#comment-1652</guid>
		<description>A synchronized XMLHTTP request (blocking) to a page that sleep()s should do the trick.</description>
		<content:encoded><![CDATA[<p>A synchronized XMLHTTP request (blocking) to a page that sleep()s should do the trick.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Preventing Frame Busting and Click Jacking (UI Redressing) &#171; coderrr</title>
		<link>http://coderrr.wordpress.com/2009/06/18/anti-anti-frame-busting/#comment-1651</link>
		<dc:creator>Preventing Frame Busting and Click Jacking (UI Redressing) &#171; coderrr</dc:creator>
		<pubDate>Fri, 19 Jun 2009 07:46:15 +0000</pubDate>
		<guid isPermaLink="false">http://coderrr.wordpress.com/?p=718#comment-1651</guid>
		<description>[...] by Anti anti frame busting &#171; coderrr &#8212; June 18, 2009 @ 4:22 pm   [...]</description>
		<content:encoded><![CDATA[<p>[...] by Anti anti frame busting &laquo; coderrr &#8212; June 18, 2009 @ 4:22 pm   [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jason Bunting</title>
		<link>http://coderrr.wordpress.com/2009/06/18/anti-anti-frame-busting/#comment-1650</link>
		<dc:creator>Jason Bunting</dc:creator>
		<pubDate>Fri, 19 Jun 2009 06:44:21 +0000</pubDate>
		<guid isPermaLink="false">http://coderrr.wordpress.com/?p=718#comment-1650</guid>
		<description>Nice. Again, I only partly know about this stuff, I was actually online at SO the moment Jeff originally posted his question and even gave it a few tries myself before giving up because I was already up late and needed to be done for the day. Hadn&#039;t thought much about it until I saw Jeff&#039;s blog entry about it.

Funny, I thought about a while loop too...

Hope this proves to be a solution, I look forward to the conclusion...

:)</description>
		<content:encoded><![CDATA[<p>Nice. Again, I only partly know about this stuff, I was actually online at SO the moment Jeff originally posted his question and even gave it a few tries myself before giving up because I was already up late and needed to be done for the day. Hadn&#8217;t thought much about it until I saw Jeff&#8217;s blog entry about it.</p>
<p>Funny, I thought about a while loop too&#8230;</p>
<p>Hope this proves to be a solution, I look forward to the conclusion&#8230;</p>
<p>:)</p>
]]></content:encoded>
	</item>
</channel>
</rss>
