title: How can I fix a Flash security error #2048
body: <p>I have having an error in flash #2048.  Everything I can find points to the fact this this is a security precaution as the files are not on the same domain. </p>
  
  <p>We have a site running on Rackspace cloud servers, and are just now trying to use cloud files a CDN to speed up a product rotation tool that we use on our site.  You can view the current working tool, using the files located on our server as well as my demo where I  switched links to reflect the cloud files instead of the local files. ( EDIT: I have removed links to demo site as they are no longer relevant. )</p>
  
  <p>The solutions I have found are seemed to be adding a few lines of code according to <a href="https://stackoverflow.com/questions/5435495/flash-security-error-2048-is-there-a-workaround-or-does-twilio-have-to-change">this stackoverflow question</a>.</p>
  
  <p>From the Stackoverflow question above's answer I implemented the following code:</p>
  
  <pre><code>allowscriptaccess = "always"
  allownetworking = "all"
  </code></pre>
  
  <p>As described in our template file. My concern is the first portion of the fix listed.</p>
  
  <pre><code>&lt;site-control permitted-cross-domain-policies="all"/&gt;
  </code></pre>
  
  <p>Which I believe goes in a crossdomain.xml file.  I created this file and put it in the root folder and used code from <a href="http://www.senocular.com/pub/adobe/crossdomain/policyfiles.html" rel="nofollow noreferrer">this documentation page</a>. I used the following code.</p>
  
  <pre><code>&lt;?xml version="1.0"?&gt;
  &lt;!DOCTYPE cross-domain-policy SYSTEM "http://www.adobe.com/xml/dtds/cross-domain-policy.dtd"&gt;
  
  &lt;cross-domain-policy&gt;
    &lt;site-control permitted-cross-domain-policies="master-only"/&gt;
    &lt;allow-access-from domain="*" secure="false" /&gt;
    &lt;allow-http-request-headers-from domain="*" headers="*"/&gt;
  &lt;/cross-domain-policy&gt; 
  </code></pre>
  
  <p>After all of this I still get the error # 2048.  I would really appreciate any help you can provide, thanks!</p>