# Trying to access xml and images files outside of webroot?

**URL:** https://forum.kirupa.com/t/trying-to-access-xml-and-images-files-outside-of-webroot/270918
**Category:** Uncategorized
**Created:** [September 16, 2008, 6:45am UTC](https://forum.kirupa.com/t/trying-to-access-xml-and-images-files-outside-of-webroot/270918 "2008-09-16T06:45:33Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![ohbeewan](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/ohbeewan/32/1745_2.png) [@ohbeewan](https://forum.kirupa.com/u/ohbeewan)
#### Post date: [September 16, 2008, 6:45am UTC](https://forum.kirupa.com/t/trying-to-access-xml-and-images-files-outside-of-webroot/270918/1 "2008-09-16T06:45:33Z")

</div>

Hello,

I’ve written a content management system that writes(creates) xml files and uploads images to a directory outside of the webroot. I need to load these xml files into a flash application that resides within the webroot. The xml files contain tags that point to images that are used by the flash application.

Having tested this successfully locally, I am using this directory structure:

/cms  
[INDENT]/images  
/xml  
[/INDENT]/webroot  
[INDENT]flashapp.swf

[/INDENT]But I can’t get this to work on a live server. Is there some restriction on .swf files from accessing files and directories outside of the webroot?

Thanks so much!
