<?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: [AS3] Domain Locking SWFs</title>
	<atom:link href="http://www.ghostwire.com/blog/archives/as3-domain-locking-swfs/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.ghostwire.com/blog/archives/as3-domain-locking-swfs/</link>
	<description>Flash UI Components</description>
	<lastBuildDate>Tue, 23 Aug 2011 08:29:00 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<item>
		<title>By: julien</title>
		<link>http://www.ghostwire.com/blog/archives/as3-domain-locking-swfs/comment-page-1/#comment-1000</link>
		<dc:creator>julien</dc:creator>
		<pubDate>Mon, 09 May 2011 21:23:28 +0000</pubDate>
		<guid isPermaLink="false">http://ghostwire.com/blog/?p=712#comment-1000</guid>
		<description>Hi Matt, Hi all.

Just to let know some readers, decompilation is prevented by obfuscation...

I guess there are pretty good softwares out here that will cost you a good ride for your money if you try to use any kind of decompiler to read the code.

By the way. One other point : if the domain is &quot;ghostwire.com&quot; be carefull not to test it with &quot;^http(&#124;s)://(&quot;+allowedDomains+&quot;)/&quot;;
because the last / is preventing from succes....

Do use &quot;^http(&#124;s)://(&quot;+allowedDomains+&quot;)&quot;; instead or compare with  &quot;ghostwire.com/&quot; 

++</description>
		<content:encoded><![CDATA[<p>Hi Matt, Hi all.</p>
<p>Just to let know some readers, decompilation is prevented by obfuscation&#8230;</p>
<p>I guess there are pretty good softwares out here that will cost you a good ride for your money if you try to use any kind of decompiler to read the code.</p>
<p>By the way. One other point : if the domain is &#8220;ghostwire.com&#8221; be carefull not to test it with &#8220;^http(|s)://(&#8220;+allowedDomains+&#8221;)/&#8221;;<br />
because the last / is preventing from succes&#8230;.</p>
<p>Do use &#8220;^http(|s)://(&#8220;+allowedDomains+&#8221;)&#8221;; instead or compare with  &#8220;ghostwire.com/&#8221; </p>
<p>++</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Matt</title>
		<link>http://www.ghostwire.com/blog/archives/as3-domain-locking-swfs/comment-page-1/#comment-858</link>
		<dc:creator>Matt</dc:creator>
		<pubDate>Sun, 09 Jan 2011 23:09:36 +0000</pubDate>
		<guid isPermaLink="false">http://ghostwire.com/blog/?p=712#comment-858</guid>
		<description>Thanks for the post!

@Josh Strike - My guess is nothing.  But that comes down to the age-old question: &quot;what can you do to stop someone decompiling the SWF?&quot;  And the answer to that is of course - (basically) nothing.</description>
		<content:encoded><![CDATA[<p>Thanks for the post!</p>
<p>@Josh Strike &#8211; My guess is nothing.  But that comes down to the age-old question: &#8220;what can you do to stop someone decompiling the SWF?&#8221;  And the answer to that is of course &#8211; (basically) nothing.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ian</title>
		<link>http://www.ghostwire.com/blog/archives/as3-domain-locking-swfs/comment-page-1/#comment-785</link>
		<dc:creator>Ian</dc:creator>
		<pubDate>Fri, 10 Sep 2010 19:21:59 +0000</pubDate>
		<guid isPermaLink="false">http://ghostwire.com/blog/?p=712#comment-785</guid>
		<description>One issue I found with your solution is for allowing subdomains is it will also allow domains that end with the same character sequence to pass. Probably not a big deal, but if you use &quot;(&#124;.*[.])&quot; instead of &quot;.*&quot; in front of your domain name it will not allow invalid domains to pass.

For example: .*ghostwire.com will allow notghostwire.com to pass. But (&#124;.*[.])ghostwire.com will only allow the primary domain and subdomains to pass.</description>
		<content:encoded><![CDATA[<p>One issue I found with your solution is for allowing subdomains is it will also allow domains that end with the same character sequence to pass. Probably not a big deal, but if you use &#8220;(|.*[.])&#8221; instead of &#8220;.*&#8221; in front of your domain name it will not allow invalid domains to pass.</p>
<p>For example: .*ghostwire.com will allow notghostwire.com to pass. But (|.*[.])ghostwire.com will only allow the primary domain and subdomains to pass.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Julien</title>
		<link>http://www.ghostwire.com/blog/archives/as3-domain-locking-swfs/comment-page-1/#comment-509</link>
		<dc:creator>Julien</dc:creator>
		<pubDate>Mon, 03 May 2010 11:28:49 +0000</pubDate>
		<guid isPermaLink="false">http://ghostwire.com/blog/?p=712#comment-509</guid>
		<description>Damn... I forgot HTML corrector and the code has been eaten. 

So again : the following HTML code needs to be applyed if the swf isn&#039;t on the same domain than the page that stand the embed.

param name=&quot;allowscriptacess&quot; value=&quot;always&quot;...  

This allows foreign swf to send stuff out to the page. By Default the value is &quot;samedomain&quot;.
++</description>
		<content:encoded><![CDATA[<p>Damn&#8230; I forgot HTML corrector and the code has been eaten. </p>
<p>So again : the following HTML code needs to be applyed if the swf isn&#8217;t on the same domain than the page that stand the embed.</p>
<p>param name=&#8221;allowscriptacess&#8221; value=&#8221;always&#8221;&#8230;  </p>
<p>This allows foreign swf to send stuff out to the page. By Default the value is &#8220;samedomain&#8221;.<br />
++</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Julien</title>
		<link>http://www.ghostwire.com/blog/archives/as3-domain-locking-swfs/comment-page-1/#comment-508</link>
		<dc:creator>Julien</dc:creator>
		<pubDate>Mon, 03 May 2010 11:22:20 +0000</pubDate>
		<guid isPermaLink="false">http://ghostwire.com/blog/?p=712#comment-508</guid>
		<description>@ Jeffry Houser - I was wondering the same... But I guess there is no really &quot;cross site scripting violation&quot; since the user that embed the swf need to specify the following HTML :

 (defaut value is &quot;samedomain&quot;)

I suppose this is the only way to allow foreign swf to send stuff out to the page.

Actually, with this important HTML condition, the piece of code above just works perfect. 
Thank you Sunny.</description>
		<content:encoded><![CDATA[<p>@ Jeffry Houser &#8211; I was wondering the same&#8230; But I guess there is no really &#8220;cross site scripting violation&#8221; since the user that embed the swf need to specify the following HTML :</p>
<p> (defaut value is &#8220;samedomain&#8221;)</p>
<p>I suppose this is the only way to allow foreign swf to send stuff out to the page.</p>
<p>Actually, with this important HTML condition, the piece of code above just works perfect.<br />
Thank you Sunny.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: happy</title>
		<link>http://www.ghostwire.com/blog/archives/as3-domain-locking-swfs/comment-page-1/#comment-472</link>
		<dc:creator>happy</dc:creator>
		<pubDate>Fri, 12 Mar 2010 21:38:12 +0000</pubDate>
		<guid isPermaLink="false">http://ghostwire.com/blog/?p=712#comment-472</guid>
		<description>@JOSH - SWF Encyption would! The process oulined here should be part of many measure to secure a swf. A combination of asp and client side code would mean that even if you decompile th eswf still cant be viewed.

Nice post</description>
		<content:encoded><![CDATA[<p>@JOSH &#8211; SWF Encyption would! The process oulined here should be part of many measure to secure a swf. A combination of asp and client side code would mean that even if you decompile th eswf still cant be viewed.</p>
<p>Nice post</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Josh Strike</title>
		<link>http://www.ghostwire.com/blog/archives/as3-domain-locking-swfs/comment-page-1/#comment-460</link>
		<dc:creator>Josh Strike</dc:creator>
		<pubDate>Sun, 07 Feb 2010 06:07:27 +0000</pubDate>
		<guid isPermaLink="false">http://ghostwire.com/blog/?p=712#comment-460</guid>
		<description>What stops someone from just decompiling the SWF and commenting out these lines?</description>
		<content:encoded><![CDATA[<p>What stops someone from just decompiling the SWF and commenting out these lines?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: sunny</title>
		<link>http://www.ghostwire.com/blog/archives/as3-domain-locking-swfs/comment-page-1/#comment-445</link>
		<dc:creator>sunny</dc:creator>
		<pubDate>Sun, 03 Jan 2010 01:45:05 +0000</pubDate>
		<guid isPermaLink="false">http://ghostwire.com/blog/?p=712#comment-445</guid>
		<description>Have you tested yourself?  Otherwise, your question smacks of irony, don&#039;t you think so?

; )</description>
		<content:encoded><![CDATA[<p>Have you tested yourself?  Otherwise, your question smacks of irony, don&#8217;t you think so?</p>
<p>; )</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jeffry Houser</title>
		<link>http://www.ghostwire.com/blog/archives/as3-domain-locking-swfs/comment-page-1/#comment-444</link>
		<dc:creator>Jeffry Houser</dc:creator>
		<pubDate>Sat, 02 Jan 2010 20:05:02 +0000</pubDate>
		<guid isPermaLink="false">http://ghostwire.com/blog/?p=712#comment-444</guid>
		<description>Have you [or anyone] tested this?  

I was under the impression that cross domain issues would prevent a SWF&#039;s ExternalInterface from making calls to a page that was not served on the same domain as the SWF.  

 Otherwise, I would expect this could be a serious cross site scripting violation.</description>
		<content:encoded><![CDATA[<p>Have you [or anyone] tested this?  </p>
<p>I was under the impression that cross domain issues would prevent a SWF&#8217;s ExternalInterface from making calls to a page that was not served on the same domain as the SWF.  </p>
<p> Otherwise, I would expect this could be a serious cross site scripting violation.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: john</title>
		<link>http://www.ghostwire.com/blog/archives/as3-domain-locking-swfs/comment-page-1/#comment-416</link>
		<dc:creator>john</dc:creator>
		<pubDate>Fri, 06 Nov 2009 17:27:46 +0000</pubDate>
		<guid isPermaLink="false">http://ghostwire.com/blog/?p=712#comment-416</guid>
		<description>it is awesome! good job :)</description>
		<content:encoded><![CDATA[<p>it is awesome! good job <img src='http://www.ghostwire.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
</channel>
</rss>

