# SaveXML

**URL:** <https://forum.kirupa.com/t/savexml/319973>\
**Category:** flash\
**Created:** [March 10, 2011, 5:19am UTC](https://forum.kirupa.com/t/savexml/319973 "2011-03-10T05:19:13Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![ColinDavies](https://avatars.discourse-cdn.com/v4/letter/c/94ad74/32.png) [@ColinDavies](https://forum.kirupa.com/u/ColinDavies)\
**Post date:** [March 10, 2011, 5:19am UTC](https://forum.kirupa.com/t/savexml/319973/1 "2011-03-10T05:19:13Z")

</div>

I need my local user to be able to save an XML document,

The 3 Methods I have discovered:  
1.)  
Using XML Sockets I can safely save to my local machine,  
The only problem is, that I have to set it up as a server, set policies, adjust the router and release the FireWall + set some Flash settings.  
2.)  
Publish the XML in a swf and ask the client to copy it into notepad.  
3.)  
Save it to the server, then smtp it back to the client as email.  
//  
I realise the difficulty with this must simply be security as we don’t want just anyone saving junk into our root directory etc.  
//  
But there must be a way I can have the user maintain a local copy of there work.

Thoughts please, or am I missing something here.:red:  
[SIZE=3][/SIZE]  
//new XMLSocket()\_loader = new LoadURL(path, verbose)
