# Local XML Security Sandbox Violation help..!

**URL:** <https://forum.kirupa.com/t/local-xml-security-sandbox-violation-help/311365>\
**Category:** flash\
**Created:** [July 4, 2010, 5:38pm UTC](https://forum.kirupa.com/t/local-xml-security-sandbox-violation-help/311365 "2010-07-04T17:38:14Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![dandylion13](https://avatars.discourse-cdn.com/v4/letter/d/c89c15/32.png) [@dandylion13](https://forum.kirupa.com/u/dandylion13)\
**Post date:** [July 4, 2010, 5:38pm UTC](https://forum.kirupa.com/t/local-xml-security-sandbox-violation-help/311365/1 "2010-07-04T17:38:14Z")

</div>

\ ***SOLVED** SEE BELOW \*\*\*\*

Hello,

I’m trying to load a local xml file:

xmlLoader.load(new URLRequest("…/xml/xmlData.xml"));

But I’m getting this security sandbox violation:

#2148: Only local-with-filesystem and trusted local SWF files may access local resources.

I’m sure there’s some very basic that I’m overlooking. (I don’t get this error when I embed the XML file directly with the EMBED metadata tag.)

Can someone point in the direction?

Thanks! 🙂
