<?xml version="1.0" encoding="UTF-8"?><!-- generator="wordpress/2.0.5" -->
<rss version="2.0" 
	xmlns:content="http://purl.org/rss/1.0/modules/content/">
<channel>
	<title>Comments on: Same-Origin Policy Part 1: Why we&#8217;re stuck with things like XSS and XSRF/CSRF</title>
	<link>http://taossa.com/index.php/2007/02/08/same-origin-policy/</link>
	<description>Continued ramblings on software security and code auditing</description>
	<pubDate>Fri, 30 Jul 2010 13:23:49 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.0.5</generator>

	<item>
		<title>by: Rich Dougherty</title>
		<link>http://taossa.com/index.php/2007/02/08/same-origin-policy/#comment-56692</link>
		<pubDate>Sun, 08 Mar 2009 22:18:00 +0000</pubDate>
		<guid>http://taossa.com/index.php/2007/02/08/same-origin-policy/#comment-56692</guid>
					<description>Jon, the Google Analytics script passes data back to Google by loading 1px images with specially-crafted URLs. Images, stylesheets and scripts can be loaded from any other site into the current page. However XMLHttpRequests and inter-frame communication is limited by security policy.</description>
		<content:encoded><![CDATA[<p>Jon, the Google Analytics script passes data back to Google by loading 1px images with specially-crafted URLs. Images, stylesheets and scripts can be loaded from any other site into the current page. However XMLHttpRequests and inter-frame communication is limited by security policy.
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: James</title>
		<link>http://taossa.com/index.php/2007/02/08/same-origin-policy/#comment-54781</link>
		<pubDate>Sun, 01 Mar 2009 13:34:00 +0000</pubDate>
		<guid>http://taossa.com/index.php/2007/02/08/same-origin-policy/#comment-54781</guid>
					<description>Thanks for this, a very interesting read. I already knew about the same-origin policy but this has really cleared up a couple of misconceptions I had.</description>
		<content:encoded><![CDATA[<p>Thanks for this, a very interesting read. I already knew about the same-origin policy but this has really cleared up a couple of misconceptions I had.
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: Jon</title>
		<link>http://taossa.com/index.php/2007/02/08/same-origin-policy/#comment-39527</link>
		<pubDate>Mon, 05 Jan 2009 21:19:00 +0000</pubDate>
		<guid>http://taossa.com/index.php/2007/02/08/same-origin-policy/#comment-39527</guid>
					<description>How does Google Analytics not violate the Same Origin Policy?

Doesn&#8217;t Analytics make a call back to Google?  Wouldn&#8217;t this violate the policy?</description>
		<content:encoded><![CDATA[<p>How does Google Analytics not violate the Same Origin Policy?</p>
<p>Doesn&#8217;t Analytics make a call back to Google?  Wouldn&#8217;t this violate the policy?
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: Gaurav</title>
		<link>http://taossa.com/index.php/2007/02/08/same-origin-policy/#comment-36566</link>
		<pubDate>Sat, 15 Nov 2008 23:24:00 +0000</pubDate>
		<guid>http://taossa.com/index.php/2007/02/08/same-origin-policy/#comment-36566</guid>
					<description>so basically same origin policy applies only when a script tries to issue an XMLHttpRequest and not when access is through standard protocols like HTTP?</description>
		<content:encoded><![CDATA[<p>so basically same origin policy applies only when a script tries to issue an XMLHttpRequest and not when access is through standard protocols like HTTP?
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: Soren Werk</title>
		<link>http://taossa.com/index.php/2007/02/08/same-origin-policy/#comment-32074</link>
		<pubDate>Thu, 11 Sep 2008 13:00:00 +0000</pubDate>
		<guid>http://taossa.com/index.php/2007/02/08/same-origin-policy/#comment-32074</guid>
					<description>Where can I read about legitimate use of XSS?

How do I go about accessing the properties of an iframe (f.ex. height) from the document inside the iframe - when the two documents come from different sub-domains of the same domain?

F.ex.:&lt;a href="http://www.mysite.com/page_with_iframe.html" rel="nofollow"&gt;http://www.mysite.com/page_with_iframe.html&lt;/a&gt;&lt;a href="http://application.mysite.com/content_inside_iframe.html" rel="nofollow"&gt;http://application.mysite.com/content_inside_iframe.html&lt;/a&gt;

I want the content document to set the height of the iframe in the main page like this:

document.domain = &#8220;mysite.com&#8221;;

parent.document.getElementById(&#8217;main_iframe&#8217;).height = document.body.scrollHeight;</description>
		<content:encoded><![CDATA[<p>Where can I read about legitimate use of XSS?</p>
<p>How do I go about accessing the properties of an iframe (f.ex. height) from the document inside the iframe - when the two documents come from different sub-domains of the same domain?</p>
<p>F.ex.:<a href="http://www.mysite.com/page_with_iframe.html" rel="nofollow" onclick="javascript:urchinTracker ('/outbound/www.mysite.com');">http://www.mysite.com/page_with_iframe.html</a><a href="http://application.mysite.com/content_inside_iframe.html" rel="nofollow" onclick="javascript:urchinTracker ('/outbound/application.mysite.com');">http://application.mysite.com/content_inside_iframe.html</a></p>
<p>I want the content document to set the height of the iframe in the main page like this:</p>
<p>document.domain = &#8220;mysite.com&#8221;;</p>
<p>parent.document.getElementById(&#8217;main_iframe&#8217;).height = document.body.scrollHeight;
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: xSS-ErrOr</title>
		<link>http://taossa.com/index.php/2007/02/08/same-origin-policy/#comment-31497</link>
		<pubDate>Tue, 02 Sep 2008 11:39:00 +0000</pubDate>
		<guid>http://taossa.com/index.php/2007/02/08/same-origin-policy/#comment-31497</guid>
					<description>If you would want to use an Editor (you do not want, I understood it and I understand why), I would recommend using the editor MarkitUp! it offers great features (you can tab right out of the generated markup for example, just write what should be inside and press tab).

It is very user friendly, easy to understand and dosn&#8217;t do any pseudo WYSIWYG shit.

And you can use it for whichever markup lang you want.</description>
		<content:encoded><![CDATA[<p>If you would want to use an Editor (you do not want, I understood it and I understand why), I would recommend using the editor MarkitUp! it offers great features (you can tab right out of the generated markup for example, just write what should be inside and press tab).</p>
<p>It is very user friendly, easy to understand and dosn&#8217;t do any pseudo WYSIWYG shit.</p>
<p>And you can use it for whichever markup lang you want.
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: Chris</title>
		<link>http://taossa.com/index.php/2007/02/08/same-origin-policy/#comment-29553</link>
		<pubDate>Fri, 01 Aug 2008 00:54:00 +0000</pubDate>
		<guid>http://taossa.com/index.php/2007/02/08/same-origin-policy/#comment-29553</guid>
					<description>Thanks for the post, very useful stuff</description>
		<content:encoded><![CDATA[<p>Thanks for the post, very useful stuff
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: Austin</title>
		<link>http://taossa.com/index.php/2007/02/08/same-origin-policy/#comment-21133</link>
		<pubDate>Fri, 21 Mar 2008 18:20:00 +0000</pubDate>
		<guid>http://taossa.com/index.php/2007/02/08/same-origin-policy/#comment-21133</guid>
					<description>thanks for the posting. It helped me clarify these concepts very well.</description>
		<content:encoded><![CDATA[<p>thanks for the posting. It helped me clarify these concepts very well.
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: justin</title>
		<link>http://taossa.com/index.php/2007/02/08/same-origin-policy/#comment-686</link>
		<pubDate>Sat, 07 Apr 2007 20:28:00 +0000</pubDate>
		<guid>http://taossa.com/index.php/2007/02/08/same-origin-policy/#comment-686</guid>
					<description>Thanks, and we just do normal copyright at the moment. So, if you quote us in part just give a citation and a link back.</description>
		<content:encoded><![CDATA[<p>Thanks, and we just do normal copyright at the moment. So, if you quote us in part just give a citation and a link back.
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: Pathetic Whitehat</title>
		<link>http://taossa.com/index.php/2007/02/08/same-origin-policy/#comment-646</link>
		<pubDate>Fri, 06 Apr 2007 22:33:00 +0000</pubDate>
		<guid>http://taossa.com/index.php/2007/02/08/same-origin-policy/#comment-646</guid>
					<description>Thank you for writing this.  Under what license is this content?</description>
		<content:encoded><![CDATA[<p>Thank you for writing this.  Under what license is this content?
</p>
]]></content:encoded>
				</item>
</channel>
</rss>

<!-- Dynamic Page Served (once) in 0.087 seconds -->
