Flash/xml/php/unix

:fight:
So I’m loading in XML files via the actionscript XML.load function. I am modifying/creating the xml files using XML.sendAndLoad to a php script. My problem is that I don’t want others to be able to read/write to the XML files. So I have an index.swf with two folders, a php folder and an xml folder. I tried changing the unix file permissions to 770 so that only the user and the group could read/write to the xml files. I went onto my SSH and checked out who the owner/group was for my files, EVERYTHING is the same. So heres the headache, my swf won’t load in the xml file when the xml folder permissions are set to 770 even though it has the same owner and group as the folder and xml files. It only works when the xml folder permissions are set to 777. So ultimately, the only thing i want READING my xml files is my swf, the only thing i want CHANGING my xml files is the php files on MY SERVER. Any ideas?