# Security Error in XML loading

**URL:** <https://forum.kirupa.com/t/security-error-in-xml-loading/279260>\
**Category:** flash\
**Created:** [January 12, 2009, 1:16pm UTC](https://forum.kirupa.com/t/security-error-in-xml-loading/279260 "2009-01-12T13:16:51Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Myung](https://avatars.discourse-cdn.com/v4/letter/m/ee59a6/32.png) [@Myung](https://forum.kirupa.com/u/Myung)\
**Post date:** [January 12, 2009, 1:16pm UTC](https://forum.kirupa.com/t/security-error-in-xml-loading/279260/1 "2009-01-12T13:16:51Z")

</div>

Hi!

Security problems are surely the most annoying ones.  
Well, I try to lead an XML file, in the usual way.  
Everything works fine from the development folder (the XML is local, on the same folder as the SWF), but when I copy the both files to somewhere else (i.e. the Desktop) I get the following message:

[COLOR=red]SecurityError: Error #2148: SWF file [/COLOR][[COLOR=red]file:///C|/Documents%20and%20Settings/myung/Desktop/Gallery.swf[/COLOR][COLOR=red] cannot access local resource [/COLOR][URL=“file:///C|/Documents%20and%20Settings/myung/Desktop/data.xml”][COLOR=red]file:///C|/Documents%20and%20Settings/myung/Desktop/data.xml[/COLOR]](file:///C|/Documents%20and%20Settings/myung/Desktop/Gallery.swf)[COLOR=red]. Only local-with-filesystem and trusted local SWF files may access local resources.  
at [flash.net](http://flash.net)::URLStream/load()[/COLOR]  
[COLOR=#ff0000][/COLOR]  
[COLOR=black]What can I do with it???[/COLOR]

Tnx ☹
