1 Reply Latest reply on Sep 2, 2009 7:15 AM by sielco

    Urgent - Security Sandbox Violation in AIR & CS4


      Hi all


      I created one Air Application using Flash CS4. It loads swf and flv from application directory.

      The fullscreen is works for video. Suppose i loaded it from local/remote means it shows

      *** Security Sandbox Violation ***

      SecurityDomain 'file:///D:/Test/load.swf' tried to access incompatible context 'app:/Test.swf'

      and also the fullscreen doesn't works.

      The video also in the same directory. The SandBox type is application.

      I added Security.allowDomain("*"); in main class. It shows

      SecurityError: Error #3207: Application-sandbox content cannot access this feature.

      at flash.system::Security$/allowDomain().....

      Can any one help me to solve this. It is urgent one.





        • 1. Re: Urgent - Security Sandbox Violation in AIR & CS4

          I had a lot of trouble with running local content through an http browser in Flash. In my case I was using AS 2.0. To fix the security issue I added the line:




          and I also updated my FlashPlayerTrust folder with a txt file containing the local location path of the application and content i.e. C:\myApplication


          On windows systems the FlashPlayerTrust folder is normally found at:



          I don't know if this helps some way towards your problem but security sandboxes are and remain a big headache.


          Adobe don't recommend setting the System.security with a wildcard "*" if you are dealing with secure content.