<?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/"
		>
<channel>
	<title>Comments on: Clickjacking with IFRAME: My solution.</title>
	<atom:link href="http://www.withinwindows.com/2008/11/17/clickjacking-with-iframe-my-solution/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.withinwindows.com/2008/11/17/clickjacking-with-iframe-my-solution/</link>
	<description>Not your usual Microsoft enthusiast blog.</description>
	<lastBuildDate>Tue, 16 Mar 2010 15:07:07 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: puterinter</title>
		<link>http://www.withinwindows.com/2008/11/17/clickjacking-with-iframe-my-solution/comment-page-1/#comment-3028</link>
		<dc:creator>puterinter</dc:creator>
		<pubDate>Fri, 03 Apr 2009 15:16:50 +0000</pubDate>
		<guid isPermaLink="false">http://www.withinwindows.com/2008/11/17/clickjacking-with-iframe-my-solution/#comment-3028</guid>
		<description>This is such an awesome site! Keep it up!</description>
		<content:encoded><![CDATA[<p>This is such an awesome site! Keep it up!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Brad</title>
		<link>http://www.withinwindows.com/2008/11/17/clickjacking-with-iframe-my-solution/comment-page-1/#comment-1815</link>
		<dc:creator>Brad</dc:creator>
		<pubDate>Tue, 09 Dec 2008 06:42:17 +0000</pubDate>
		<guid isPermaLink="false">http://www.withinwindows.com/2008/11/17/clickjacking-with-iframe-my-solution/#comment-1815</guid>
		<description>Ralph is right - iframe is absolutely necessary to host 3rd party content without risking a cross-site scripting attack.
If you place 3rd party content directly in your frame, it&#039;s javascript can mess with the page elements - basically it can do anything to the page that the user could (and more).</description>
		<content:encoded><![CDATA[<p>Ralph is right &#8211; iframe is absolutely necessary to host 3rd party content without risking a cross-site scripting attack.<br />
If you place 3rd party content directly in your frame, it&#8217;s javascript can mess with the page elements &#8211; basically it can do anything to the page that the user could (and more).</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Boro</title>
		<link>http://www.withinwindows.com/2008/11/17/clickjacking-with-iframe-my-solution/comment-page-1/#comment-1717</link>
		<dc:creator>Boro</dc:creator>
		<pubDate>Wed, 03 Dec 2008 00:38:13 +0000</pubDate>
		<guid isPermaLink="false">http://www.withinwindows.com/2008/11/17/clickjacking-with-iframe-my-solution/#comment-1717</guid>
		<description>@Ilídio Martins: That would be in Internet Explorer. Better browsers *do* support z-index properly :)

I&#039;d stick with these two for my &#039;because&#039; reasons:
1) WYSIWYG editors
2) Asynchronous file uploading</description>
		<content:encoded><![CDATA[<p>@Ilídio Martins: That would be in Internet Explorer. Better browsers *do* support z-index properly :)</p>
<p>I&#8217;d stick with these two for my &#8216;because&#8217; reasons:<br />
1) WYSIWYG editors<br />
2) Asynchronous file uploading</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dan</title>
		<link>http://www.withinwindows.com/2008/11/17/clickjacking-with-iframe-my-solution/comment-page-1/#comment-1551</link>
		<dc:creator>Dan</dc:creator>
		<pubDate>Thu, 20 Nov 2008 05:40:38 +0000</pubDate>
		<guid isPermaLink="false">http://www.withinwindows.com/2008/11/17/clickjacking-with-iframe-my-solution/#comment-1551</guid>
		<description>As Fred points out and Tom totally misunderstands, it is not possible to upload files using AJAX, thus requiring old fashioned form submission.  To make it look &quot;Web 2.0&quot; you need to put it inside an iframe so the whole page doesn&#039;t refresh.

In addition, I find an iframe is a useful substitution for a frameset with a hidden frame (say, if I want to have an mp3 play while I browse a site, I need the mp3 somewhere outside the frame the user is browsing in... is this useful?  Not really, but fun: http://www.mzzt.net/extreme/forums.facepunchstudios.php</description>
		<content:encoded><![CDATA[<p>As Fred points out and Tom totally misunderstands, it is not possible to upload files using AJAX, thus requiring old fashioned form submission.  To make it look &#8220;Web 2.0&#8243; you need to put it inside an iframe so the whole page doesn&#8217;t refresh.</p>
<p>In addition, I find an iframe is a useful substitution for a frameset with a hidden frame (say, if I want to have an mp3 play while I browse a site, I need the mp3 somewhere outside the frame the user is browsing in&#8230; is this useful?  Not really, but fun: <a href="http://www.mzzt.net/extreme/forums.facepunchstudios.php" rel="nofollow">http://www.mzzt.net/extreme/forums.facepunchstudios.php</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ralph</title>
		<link>http://www.withinwindows.com/2008/11/17/clickjacking-with-iframe-my-solution/comment-page-1/#comment-1533</link>
		<dc:creator>Ralph</dc:creator>
		<pubDate>Tue, 18 Nov 2008 14:02:02 +0000</pubDate>
		<guid isPermaLink="false">http://www.withinwindows.com/2008/11/17/clickjacking-with-iframe-my-solution/#comment-1533</guid>
		<description>Ilídio Martins, Have you heard of something called same origin policy? I suggest for you to read about it before deciding not to agree with something! So if you have firefox and firebug you can make an iframe vulnerable!! Do you even understand what you are saying?! If you are developing a website that 3rd parties can integrate with yours (facebook is a great example), one of the strong ways to protect yourself from them is to load their contents inside an iframe, thus insuring that their code can not affect your code and open it to XSS and session hijacking and similar attacks... If you inject their code directly into your frame, you are risking that any 3rd party component will be able to inject malicious code and hijack the accounts of your end users! Another way is like facebook does it, require the people who will integrate with their site to use a custom set of tags designed by them, which they will process/analyze into html tags and then inject it into their pages.</description>
		<content:encoded><![CDATA[<p>Ilídio Martins, Have you heard of something called same origin policy? I suggest for you to read about it before deciding not to agree with something! So if you have firefox and firebug you can make an iframe vulnerable!! Do you even understand what you are saying?! If you are developing a website that 3rd parties can integrate with yours (facebook is a great example), one of the strong ways to protect yourself from them is to load their contents inside an iframe, thus insuring that their code can not affect your code and open it to XSS and session hijacking and similar attacks&#8230; If you inject their code directly into your frame, you are risking that any 3rd party component will be able to inject malicious code and hijack the accounts of your end users! Another way is like facebook does it, require the people who will integrate with their site to use a custom set of tags designed by them, which they will process/analyze into html tags and then inject it into their pages.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ilídio Martins</title>
		<link>http://www.withinwindows.com/2008/11/17/clickjacking-with-iframe-my-solution/comment-page-1/#comment-1530</link>
		<dc:creator>Ilídio Martins</dc:creator>
		<pubDate>Tue, 18 Nov 2008 12:05:48 +0000</pubDate>
		<guid isPermaLink="false">http://www.withinwindows.com/2008/11/17/clickjacking-with-iframe-my-solution/#comment-1530</guid>
		<description>This hit isn&#039;t very usefull, but iframes is the only object that keeps in front, in layers, of a SELECT box with options.</description>
		<content:encoded><![CDATA[<p>This hit isn&#8217;t very usefull, but iframes is the only object that keeps in front, in layers, of a SELECT box with options.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ilídio Martins</title>
		<link>http://www.withinwindows.com/2008/11/17/clickjacking-with-iframe-my-solution/comment-page-1/#comment-1529</link>
		<dc:creator>Ilídio Martins</dc:creator>
		<pubDate>Tue, 18 Nov 2008 11:27:28 +0000</pubDate>
		<guid isPermaLink="false">http://www.withinwindows.com/2008/11/17/clickjacking-with-iframe-my-solution/#comment-1529</guid>
		<description>I definitely don&#039;t agree with Ralph, on this one. Because isn&#039;t a iframe, that you&#039;ll make your code secure. You can&#039;t inject trough a iframe???? I think it can be done... Just use Firebug &amp; Firefox.

And Fred was right. Ajax file upload can be achieved only via iFrames (like when you&#039;re in gmail or hotmail and need to upload a file to send in a email).

Cups</description>
		<content:encoded><![CDATA[<p>I definitely don&#8217;t agree with Ralph, on this one. Because isn&#8217;t a iframe, that you&#8217;ll make your code secure. You can&#8217;t inject trough a iframe???? I think it can be done&#8230; Just use Firebug &amp; Firefox.</p>
<p>And Fred was right. Ajax file upload can be achieved only via iFrames (like when you&#8217;re in gmail or hotmail and need to upload a file to send in a email).</p>
<p>Cups</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Don</title>
		<link>http://www.withinwindows.com/2008/11/17/clickjacking-with-iframe-my-solution/comment-page-1/#comment-1528</link>
		<dc:creator>Don</dc:creator>
		<pubDate>Tue, 18 Nov 2008 11:03:18 +0000</pubDate>
		<guid isPermaLink="false">http://www.withinwindows.com/2008/11/17/clickjacking-with-iframe-my-solution/#comment-1528</guid>
		<description>Unfortunately, the level of implementation of XMLHttpRequest differs from browser to browser.  While other browsers have the object, they don&#039;t provide anything like the functionality of MSXML.

For example, the XML object in Firefox isn&#039;t created until the entire request is completed so you can&#039;t stream events into that web browser using XHR.  This matters if you&#039;re streaming events to browsers without going around the HTTP request/response cycle.  To get this level of performance in Firefox, you need to pull off a trick like receiving the event stream as an HTML document full of  elements.

The W3C is working on an XHR standard that allows streaming in both directions but that&#039;s in the future.</description>
		<content:encoded><![CDATA[<p>Unfortunately, the level of implementation of XMLHttpRequest differs from browser to browser.  While other browsers have the object, they don&#8217;t provide anything like the functionality of MSXML.</p>
<p>For example, the XML object in Firefox isn&#8217;t created until the entire request is completed so you can&#8217;t stream events into that web browser using XHR.  This matters if you&#8217;re streaming events to browsers without going around the HTTP request/response cycle.  To get this level of performance in Firefox, you need to pull off a trick like receiving the event stream as an HTML document full of  elements.</p>
<p>The W3C is working on an XHR standard that allows streaming in both directions but that&#8217;s in the future.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Moe Sweet</title>
		<link>http://www.withinwindows.com/2008/11/17/clickjacking-with-iframe-my-solution/comment-page-1/#comment-1527</link>
		<dc:creator>Moe Sweet</dc:creator>
		<pubDate>Tue, 18 Nov 2008 10:55:24 +0000</pubDate>
		<guid isPermaLink="false">http://www.withinwindows.com/2008/11/17/clickjacking-with-iframe-my-solution/#comment-1527</guid>
		<description>This one is very rare.

I use SVG and VML which are vector graphics for browsers. These files work on .svg / .vml extension and definitely need different DOCTYPES than HTML.

You cannot mix it with other HTML codes and JS codes within the same frame.
You cannot call it via AJAX which would also make them mixed.

That&#039;s why we, I, need iFrames though I don&#039;t like them.

And Fred was right. Ajax file upload can be achieved only via iFrames.

Cheers</description>
		<content:encoded><![CDATA[<p>This one is very rare.</p>
<p>I use SVG and VML which are vector graphics for browsers. These files work on .svg / .vml extension and definitely need different DOCTYPES than HTML.</p>
<p>You cannot mix it with other HTML codes and JS codes within the same frame.<br />
You cannot call it via AJAX which would also make them mixed.</p>
<p>That&#8217;s why we, I, need iFrames though I don&#8217;t like them.</p>
<p>And Fred was right. Ajax file upload can be achieved only via iFrames.</p>
<p>Cheers</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ralph</title>
		<link>http://www.withinwindows.com/2008/11/17/clickjacking-with-iframe-my-solution/comment-page-1/#comment-1524</link>
		<dc:creator>Ralph</dc:creator>
		<pubDate>Tue, 18 Nov 2008 09:32:49 +0000</pubDate>
		<guid isPermaLink="false">http://www.withinwindows.com/2008/11/17/clickjacking-with-iframe-my-solution/#comment-1524</guid>
		<description>You can not do without an iframe. What happens if you get your html code using XMLHttpRequest and Inject it in your page and someone clicks on a link, or activates some javascript code that will run within your page? What about Security when you get contents from another Website and put it in an Iframe, if you inject it in your page, you are doomed, you lost a level of security that the browser gives you that protects sites from different domains from interacting with each other. What about creating a website that interacts old asp code and new asp.net code where by you need to include the old asp code in an iframe to run there (this is a project of a Network Operation Center which I was assigned to do lately where you have an already done control panel by the vender which is classic asp, but we needed to augment it with new features)... Are these enough for you to start with :) You can not let go of the iframe. Mind you also that XMLHttpRequest can not do cross site requests, while an iframe (given some prerequisites) can do that on subdomains. The web is not ready to live without the Iframe :)</description>
		<content:encoded><![CDATA[<p>You can not do without an iframe. What happens if you get your html code using XMLHttpRequest and Inject it in your page and someone clicks on a link, or activates some javascript code that will run within your page? What about Security when you get contents from another Website and put it in an Iframe, if you inject it in your page, you are doomed, you lost a level of security that the browser gives you that protects sites from different domains from interacting with each other. What about creating a website that interacts old asp code and new asp.net code where by you need to include the old asp code in an iframe to run there (this is a project of a Network Operation Center which I was assigned to do lately where you have an already done control panel by the vender which is classic asp, but we needed to augment it with new features)&#8230; Are these enough for you to start with :) You can not let go of the iframe. Mind you also that XMLHttpRequest can not do cross site requests, while an iframe (given some prerequisites) can do that on subdomains. The web is not ready to live without the Iframe :)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Henry</title>
		<link>http://www.withinwindows.com/2008/11/17/clickjacking-with-iframe-my-solution/comment-page-1/#comment-1523</link>
		<dc:creator>Henry</dc:creator>
		<pubDate>Tue, 18 Nov 2008 07:48:35 +0000</pubDate>
		<guid isPermaLink="false">http://www.withinwindows.com/2008/11/17/clickjacking-with-iframe-my-solution/#comment-1523</guid>
		<description>One might want to develop a website that works with Javascript disabled.</description>
		<content:encoded><![CDATA[<p>One might want to develop a website that works with Javascript disabled.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ross Presser</title>
		<link>http://www.withinwindows.com/2008/11/17/clickjacking-with-iframe-my-solution/comment-page-1/#comment-1520</link>
		<dc:creator>Ross Presser</dc:creator>
		<pubDate>Tue, 18 Nov 2008 03:23:59 +0000</pubDate>
		<guid isPermaLink="false">http://www.withinwindows.com/2008/11/17/clickjacking-with-iframe-my-solution/#comment-1520</guid>
		<description>From Wikipedia&#039;s IFRAME article:

More recently, Mozilla Firefox, Opera and Microsoft Internet Explorer introduced contentEditable and designMode, which enables users to edit the contents of the HTML contained in an IFrame. This feature has been used to develop rich text (WYSIWYG) editors within an IFrame element like FCKeditor or TinyMCE. Popular web applications which make use of this feature include Google Docs &amp; Spreadsheets (formerly Writely), JotSpot Live, and Windows Live Hotmail, to name a few.

Disabling FCKeditor would make many, many website owners very unhappy indeed.</description>
		<content:encoded><![CDATA[<p>From Wikipedia&#8217;s IFRAME article:</p>
<p>More recently, Mozilla Firefox, Opera and Microsoft Internet Explorer introduced contentEditable and designMode, which enables users to edit the contents of the HTML contained in an IFrame. This feature has been used to develop rich text (WYSIWYG) editors within an IFrame element like FCKeditor or TinyMCE. Popular web applications which make use of this feature include Google Docs &amp; Spreadsheets (formerly Writely), JotSpot Live, and Windows Live Hotmail, to name a few.</p>
<p>Disabling FCKeditor would make many, many website owners very unhappy indeed.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jon</title>
		<link>http://www.withinwindows.com/2008/11/17/clickjacking-with-iframe-my-solution/comment-page-1/#comment-1519</link>
		<dc:creator>Jon</dc:creator>
		<pubDate>Tue, 18 Nov 2008 03:02:31 +0000</pubDate>
		<guid isPermaLink="false">http://www.withinwindows.com/2008/11/17/clickjacking-with-iframe-my-solution/#comment-1519</guid>
		<description>LOL wait no i like my ipod...</description>
		<content:encoded><![CDATA[<p>LOL wait no i like my ipod&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tom</title>
		<link>http://www.withinwindows.com/2008/11/17/clickjacking-with-iframe-my-solution/comment-page-1/#comment-1515</link>
		<dc:creator>Tom</dc:creator>
		<pubDate>Tue, 18 Nov 2008 00:38:38 +0000</pubDate>
		<guid isPermaLink="false">http://www.withinwindows.com/2008/11/17/clickjacking-with-iframe-my-solution/#comment-1515</guid>
		<description>/face palm
Oh dear god... iframes are NOT web 2.0... Ajax pretty much started the 2.0 craze.
KILL THE IFRAME


(iFrame..? iPod.. Apple? KILL APPLE)</description>
		<content:encoded><![CDATA[<p>/face palm<br />
Oh dear god&#8230; iframes are NOT web 2.0&#8230; Ajax pretty much started the 2.0 craze.<br />
KILL THE IFRAME</p>
<p>(iFrame..? iPod.. Apple? KILL APPLE)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Matt</title>
		<link>http://www.withinwindows.com/2008/11/17/clickjacking-with-iframe-my-solution/comment-page-1/#comment-1510</link>
		<dc:creator>Matt</dc:creator>
		<pubDate>Mon, 17 Nov 2008 19:15:01 +0000</pubDate>
		<guid isPermaLink="false">http://www.withinwindows.com/2008/11/17/clickjacking-with-iframe-my-solution/#comment-1510</guid>
		<description>Fred, don&#039;t worry - it was perfect. I wouldn&#039;t have know if you hadn&#039;t had said! :o)</description>
		<content:encoded><![CDATA[<p>Fred, don&#8217;t worry &#8211; it was perfect. I wouldn&#8217;t have know if you hadn&#8217;t had said! :o)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ilia Jerebtsov</title>
		<link>http://www.withinwindows.com/2008/11/17/clickjacking-with-iframe-my-solution/comment-page-1/#comment-1508</link>
		<dc:creator>Ilia Jerebtsov</dc:creator>
		<pubDate>Mon, 17 Nov 2008 17:05:48 +0000</pubDate>
		<guid isPermaLink="false">http://www.withinwindows.com/2008/11/17/clickjacking-with-iframe-my-solution/#comment-1508</guid>
		<description>My favorite use is making sure that ads and certain javascripts don&#039;t block the page rendering while they load. There&#039;s nothing more annoying than having to wait for a lagged out ad server.

They&#039;re also used nowadays to add back-forward navigation in AJAX pages.

Ultimately they&#039;re just an easy way to load offsite content asynchronously, that works without any Javascript fuss.</description>
		<content:encoded><![CDATA[<p>My favorite use is making sure that ads and certain javascripts don&#8217;t block the page rendering while they load. There&#8217;s nothing more annoying than having to wait for a lagged out ad server.</p>
<p>They&#8217;re also used nowadays to add back-forward navigation in AJAX pages.</p>
<p>Ultimately they&#8217;re just an easy way to load offsite content asynchronously, that works without any Javascript fuss.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Fred</title>
		<link>http://www.withinwindows.com/2008/11/17/clickjacking-with-iframe-my-solution/comment-page-1/#comment-1507</link>
		<dc:creator>Fred</dc:creator>
		<pubDate>Mon, 17 Nov 2008 16:51:29 +0000</pubDate>
		<guid isPermaLink="false">http://www.withinwindows.com/2008/11/17/clickjacking-with-iframe-my-solution/#comment-1507</guid>
		<description>Hello,

If I remember well, iFrame is the only way to provide a fancy &quot;Web 2.0&quot; feature: inline file uploading form, which is used in GMail for instance.

I hope my english is not too bad... (I&#039;m French)

Regards.</description>
		<content:encoded><![CDATA[<p>Hello,</p>
<p>If I remember well, iFrame is the only way to provide a fancy &#8220;Web 2.0&#8243; feature: inline file uploading form, which is used in GMail for instance.</p>
<p>I hope my english is not too bad&#8230; (I&#8217;m French)</p>
<p>Regards.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
