Security sandbox violation
hi,
have application upload/download files to/from box.net. application works fine when not deployed on server when deploy on google app engine following error encountered .
error #2044: unhandled securityerror:. text=error #2048: security sandbox violation: http://somexyz.appspot.com/xyzsample.swf cannot load data http://box.net/api/1.0/download/abcdef/123456.
i have included below lines of code in as3
security.allowdomain("*");
and placed crossdomain.xml in app root folder (google app engine) , can access file using http://somexyz.appspot.com/crossdomain.xml
crossdomain.xml contains below lines
<?xml version="1.0"?>
<!doctype cross-domain-policy system "/xml/dtds/cross-domain-policy.dtd">
<cross-domain-policy>
<site-control permitted-cross-domain-policies="all"/>
<allow-access-from domain="*" to-ports="*"/>
<allow-http-request-headers-from domain="*" headers="*"/>
<allow-http-request-headers-from domain="*"/>
</cross-domain-policy>
i getting same issue when tried using tomcat
please me figure out solution .
thanks in advance.
srikanth angeri.
the crossdomain.xml file needs on box.net , allow appspot.com.
More discussions in Flex (Read Only)
adobe
Comments
Post a Comment