# Local-with-networking sandbox. (Security Sandbox Violation)

**URL:** <https://forum.kirupa.com/t/local-with-networking-sandbox-security-sandbox-violation/326789>\
**Category:** flash\
**Created:** [January 12, 2012, 10:40am UTC](https://forum.kirupa.com/t/local-with-networking-sandbox-security-sandbox-violation/326789 "2012-01-12T10:40:28Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Gyan\_Singh](https://avatars.discourse-cdn.com/v4/letter/g/848f3c/32.png) [@Gyan\_Singh](https://forum.kirupa.com/u/Gyan_Singh)\
**Post date:** [January 12, 2012, 10:40am UTC](https://forum.kirupa.com/t/local-with-networking-sandbox-security-sandbox-violation/326789/1 "2012-01-12T10:40:28Z")

</div>

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 [URL=“[http://www.example.com](http://www.example.com)”][www.example.com](http://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](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](http://www.example.com/data.xml).

I have keep crossdomain.xml on [www.example.com](http://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\>
