Local-with-networking sandbox. (Security Sandbox Violation)
Hi
I am developing an application for Android devices.
where I am facing Security Sandbox Violation issue. not getting any proper solution plz help..
I have main.swf (included in apk) on device and main.swf download abc.swf from server and save it to device(app-storage).
after downloaded, main.swf loads abc.swf in it, abc.swf need to connect to internet to retrieves data from www.example.com
main.swf is not allowing abc.swf to connect with internet and giving this error..
*** Security Sandbox Violation ***
Connection to http://www.example.com/data.xml halted - not permitted from app-storage://abc.swf
-- Untrusted local SWFs may not contact the Internet.
SecurityError: Error #2028: Local-with-filesystem SWF file app-storage:/abc.swf cannot access Internet URL http://www.example.com/data.xml.
I have keep crossdomain.xml on www.example.com/crossdomain.xml
the xml has these parameter..
<cross-domain-policy>
<site-control permitted-cross-domain-policies="all"/>
<allow-access-from domain="*"/>
</cross-domain-policy>
plz help what i am doing wrong??
