<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Alternate location for Crossdomain file, Different directory instead of Root. in ArcGIS API for Flex Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/alternate-location-for-crossdomain-file-different/m-p/40236#M957</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Any ideas?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 16 Aug 2011 22:00:06 GMT</pubDate>
    <dc:creator>SobodhDangwal</dc:creator>
    <dc:date>2011-08-16T22:00:06Z</dc:date>
    <item>
      <title>Alternate location for Crossdomain file, Different directory instead of Root.</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/alternate-location-for-crossdomain-file-different/m-p/40233#M954</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi There&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Due to some security concerns I have to move the location of crossdomain file from root to some other location. The flex app works fine if it find the crossdomain at root but doesn't work if I store the crossdomain file at another location. I have tried to use Security.loadPolicyFile(url), Flash finds the crossdomin file but then ignores it.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;As per the this post&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://forums.arcgis.com/threads/4351-crossdomain.xml-in-a-different-directory"&gt;http://forums.arcgis.com/threads/4351-crossdomain.xml-in-a-different-directory&lt;/A&gt;&lt;BR /&gt;&lt;SPAN&gt;I have set up a master policy file at root and the cross domain file at another location. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Can some one help, how to set up cross domain file at a different directory instead of root?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Jul 2011 03:10:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/alternate-location-for-crossdomain-file-different/m-p/40233#M954</guid>
      <dc:creator>SobodhDangwal</dc:creator>
      <dc:date>2011-07-12T03:10:58Z</dc:date>
    </item>
    <item>
      <title>Re: Alternate location for Crossdomain file, Different directory instead of Root.</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/alternate-location-for-crossdomain-file-different/m-p/40234#M955</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Here's a link that might help you.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www.adobe.com/devnet/articles/crossdomain_policy_file_spec.html#site-control"&gt;http://www.adobe.com/devnet/articles/crossdomain_policy_file_spec.html#site-control&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;"If a client is instructed to use a policy file in a location other than that of the master policy file, the client must first check the meta-policy of the master policy file to determine if the original policy file is allowed"&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Jul 2011 22:15:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/alternate-location-for-crossdomain-file-different/m-p/40234#M955</guid>
      <dc:creator>ThaoLe</dc:creator>
      <dc:date>2011-07-15T22:15:18Z</dc:date>
    </item>
    <item>
      <title>Re: Alternate location for Crossdomain file, Different directory instead of Root.</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/alternate-location-for-crossdomain-file-different/m-p/40235#M956</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Here's a link that might help you.&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www.adobe.com/devnet/articles/crossdomain_policy_file_spec.html#site-control"&gt;http://www.adobe.com/devnet/articles/crossdomain_policy_file_spec.html#site-control&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;"If a client is instructed to use a policy file in a location other than that of the master policy file, the client must first check the meta-policy of the master policy file to determine if the original policy file is allowed"&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi There&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Well that's exactly I am doing but it still doesn't seems to be working. Here is what I have done&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;At root I have got a cross domain file with meta policy&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;?xml version="1.0"?&amp;gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;!DOCTYPE cross-domain-policy SYSTEM &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://www.adobe.com/xml/dtds/cross-domain-policy.dtd" rel="nofollow" target="_blank"&gt;http://www.adobe.com/xml/dtds/cross-domain-policy.dtd&lt;/A&gt;&lt;SPAN&gt;"&amp;gt; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;cross-domain-policy&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &amp;lt;site-control permitted-cross-domain-policies="all"/&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;/cross-domain-policy&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;At another location at the same server another cross domain file&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;?xml version="1.0"?&amp;gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;!DOCTYPE cross-domain-policy SYSTEM &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://www.adobe.com/xml/dtds/cross-domain-policy.dtd" rel="nofollow" target="_blank"&gt;http://www.adobe.com/xml/dtds/cross-domain-policy.dtd&lt;/A&gt;&lt;SPAN&gt;"&amp;gt; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;cross-domain-policy&amp;gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &amp;lt;allow-access-from domain="*"/&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &amp;lt;/cross-domain-policy&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Now in the Flex code I have got &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;flash.system.Security.loadPolicyFile('URL to the location of &lt;/SPAN&gt;&lt;STRONG&gt;non master cross domain file'&lt;/STRONG&gt;&lt;SPAN&gt;);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Is there any mistake in the meta policy here?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks in advance.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Jul 2011 01:43:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/alternate-location-for-crossdomain-file-different/m-p/40235#M956</guid>
      <dc:creator>SobodhDangwal</dc:creator>
      <dc:date>2011-07-19T01:43:22Z</dc:date>
    </item>
    <item>
      <title>Re: Alternate location for Crossdomain file, Different directory instead of Root.</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/alternate-location-for-crossdomain-file-different/m-p/40236#M957</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Any ideas?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Aug 2011 22:00:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/alternate-location-for-crossdomain-file-different/m-p/40236#M957</guid>
      <dc:creator>SobodhDangwal</dc:creator>
      <dc:date>2011-08-16T22:00:06Z</dc:date>
    </item>
  </channel>
</rss>

