5 Replies Latest reply on Jan 12, 2011 9:37 AM by Gregory Lafrance

    Air app, Rest service, Security sandbox violation

    perflexed

      Hi All,

        I wrote an app a couple of years ago using flex 3 that connects to a number of remote web services and does various things.

      This worked fine.

      Now I have been asked by the customer to update the app as it stopped working at some point.

       

      I am trying to use the resthttpservice library to do a PUT operation, but I am getting the following error when I try and create a socket to the remote server:

       

      Error #2048: Security sandbox violation: app:/main.swf cannot load data from http://my.host:8182

       

      Now, it's been a while since I've done anything with flex so I am rusty. But this error is usually fixed by having a crossdomains.xml file on the remote server. But it was my understanding that this was only required when one's app was running from within the browser and that desktop applications are not effected.

       

      Can anyone clarify this for me? It seems that there were changes made to the flash player in version 10 that might have changed this.

      I am very puzzled at this point!

       

       

      thanks for any help!