# allowDomain problems

**URL:** <https://forum.kirupa.com/t/allowdomain-problems/73820>\
**Category:** Uncategorized\
**Created:** [December 20, 2004, 9:26pm UTC](https://forum.kirupa.com/t/allowdomain-problems/73820 "2004-12-20T21:26:46Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![exorxist](https://avatars.discourse-cdn.com/v4/letter/e/f4b2a3/32.png) [@exorxist](https://forum.kirupa.com/u/exorxist)\
**Post date:** [December 20, 2004, 9:26pm UTC](https://forum.kirupa.com/t/allowdomain-problems/73820/1 "2004-12-20T21:26:46Z")

</div>

Hi, I just started using MX 2004 (I’ve used MX for a very long time) and I’m having problems accessing an XML file on a remote domain. I’ve gotten this to work in the past with MX, but 2004 is giving me problems. This is the error I’m getting:

\*\*\* Security Sandbox Violation \*\*\*  
Connection to whatever.xml halted - not permitted from [http://www.wherever.com/Test/file.swf](http://www.wherever.com/Test/file.swf)  
file not loaded!

Now, I’ve used the

System.security.allowDomain(“[www.whatever.com","www.2ndWhatever.com](http://www.2ndWhatever.com)”);

code, in which I list the 2 domains the info has to go across - I still can’t get it to work. Any suggestions?

(I’ve also checked the properties of the xml and swf file, so that all users can read and execute them)

Thanks!
