0 Replies Latest reply on Jun 1, 2010 9:50 AM by hadastoro

    Security Sandbox Violation

    hadastoro Level 1

      I have the following configuration:

       

      A. a server exposing a webService via https. access should be obtained by https://serverwithWS.com/MyService/MyServicePort
      B. the webserver is deployed on glassfish.
      C. the root directory of the glassfish contins the following crossdomain.xml file:

      <cross-domain-policy>
                     <allow-access-from domain="*" to-ports="*" />
                      <site-control permitted-cross-domain-policies="master-only"/>
      </cross-domain-policy>


      D. A swf file hosted on a tomcat server (on my PC). access should be obtaibed by  https://localhost:8443/tar13/Rap.swf 
      E. I'm trying to access the link https://localhost:8443/tar13/Rap.swf with my local browser.


      I get the following errors:

      Error: Request for resource at https://serverwithWS.com/MyService/MyServicePort by requestor from https://localhost:8443/tar13/Rap.swf is denied due to lack of policy file permissions.
      *** Security Sandbox Violation ***
      Connection to https://serverwithWS.com/MyService/MyServicePort halted - not permitted from https://localhost:8443/tar13/Rap.swf
      Error: Request for resource at https://serverwithWS.com/MyService/MyServicePort by requestor from https://localhost:8443/tar13/Rap.swf is denied due to lack of policy file permissions.
      *** Security Sandbox Violation ***
      Connection to https://serverwithWS.com/MyService/MyServicePort halted - not permitted from https://localhost:8443/tar13/Rap.swf can't seem to see the problem... any help will be appritiated

      I