4 Replies Latest reply on Jan 7, 2009 12:08 PM by adambergman

    Flash Player 10 Security - Error 2048

    adambergman Level 1
      Hello all, I'm running in to an issue with Flash Player 10 and I can't seem to figure it out. I am using an HTTP server on an embedded device to serve SWF files which in turn connect back to the device (and other devices) for XML data. The connections are made back to http://deviceip/folder - I have no way to access the root folder of the server. This folder contains no crossdomain.xml file. With FP9 I was intercepting HTTP requests to http://deviceip/folder/crossdomain.xml and outputting this:
      <?xml version="1.0"?>
      <!DOCTYPE cross-domain-policy SYSTEM " http://www.macromedia.com/xml/dtds/cross-domain-policy.dtd">
      <allow-access-from domain="*" />

      The debugger says that this file is depreciated but everything seemed to work fine on FP9. After upgrading to FP10 I started getting the Security Error #2048. From what I can understand at http://www.adobe.com/go/strict_policy_files the only fix for error 2048 is to specify a strict policy file that has the meta-policy of "all" at the root of the domain. I have no access to the root so this presents a problem.

      I did see that you can send some HTTP header information instead of using a crossdomain.xml file, but I couldn't tell where the FP is looking for that information. I can modify headers on responses http://deviceip/folder but not on the response from http://deviceip/ I assumed that is where the headers are checked which leaves me in the same boat.

      I'm hoping someone has a creative idea for me to try. Thanks!