1 Reply Latest reply on Sep 28, 2010 12:44 PM by Zolotoj

    Socket problem

    Zolotoj Level 3

      I am using serial tcp/ip bridges to read data from serial scanners. The bridge has an IP, nothing else to use for a connection.

      So, my command looks like this:

      xmlsock.connect(bridge_ip, portnumber);


      I am getting a sandbox violation:

      Error #2044: Unhandled securityError:. text=Error #2048: Security sandbox violation: file:// cannot load data from


      Is there a way of getting this to work?


      This is my crossdomain.xml:

      <?xml version="1.0"?>

      <!-- http://www.foo.com/crossdomain.xml -->


      <allow-access-from domain="UFANDD.LOCAL" to-ports="8023"/>

      <allow-access-from domain="http://localhost/ufd/ufdreports" to-ports="8023"/>

      <!-- This is a master-policy file -->

      <site-control permitted-cross-domain-policies="master-only"/>

      <allow-access-from domain=""/>

      <allow-access-from domain=""/>

      <allow-http-request-headers-from domain="" headers="Authorization">