2 Replies Latest reply on Jan 16, 2010 3:55 AM by Sandeep Reddys

    Security ErrorError #2048: Security sandbox violation with xmlSocket

    Sandeep Reddys

      I 'm using a socket instance in my mxml file.Every thing is going on well when Swf file is loaded from Flex Builder(in local system). But when move swf file is moved into unix serverr, it is throwing following error:
      Security ErrorError #2048: Security sandbox violation: cannot load data from unixmachine:5696
      I have gone through the flash player security documentations and done the following changes in my code:
      socket = new flash.net.XMLSocket();
      socket.connect("myunixmachine", 3001);
      The content of the policy file is as follows:
         <?xml version="1.0" ?> 
         <!DOCTYPE cross-domain-policy (View Source for full doctype...)> 
         <site-control permitted-cross-domain-policies="all" secure="false" /> 
         <allow-access-from domain="*" to-ports="*" secure="false" /> 
      Even after adding the  policy file, I 'm getting same security error. Please let me know, if any other modifications needs to be done.