Re: [Flashcoders] AMFPHP: CrossDomain
To skirt this issue, I use AMFPHP proxy classes on my swf's host server to talk to other servers or snap up RSS files. Not sure about filesystem stuff though. It seems like that would be a security issue on the backend as well as the front! Feel free to mail me offlist if you want to check out one of the PHP proxy classes. Mike ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] AMFPHP: CrossDomain
crossdomain.xml goes in the webserver root of the server with the flash file. I had problems with it recently as well, it was not easy to troubleshoot, so, I can offer no other hints. On 7/17/06, Ashwan Wadhwa <[EMAIL PROTECTED]> wrote: Hello, I am working on a project where the data is read/written to another web server for which AMFPHP is being deployed, everything works perfectly when running off the local machine. However when I host this on a separate server I keep getting Macromedia Flash Security Sandbox warning. I did go in and the line System.security.allowDomain(name_of_domain). That still did not work. I finally used the wild card allowDomain("*"). This also did not solve the security problem. Is there something I am missing here. If I use the security.allowDomain function, do I still need to deploy a crossdomain.xml file in the webserver root. And where does this is crossdomain policy go? In the webserver hosting the flash files or the one hosting the amfphp gateway.php file?? Thanks Ashwan. ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
[Flashcoders] AMFPHP: CrossDomain
Hello, I am working on a project where the data is read/written to another web server for which AMFPHP is being deployed, everything works perfectly when running off the local machine. However when I host this on a separate server I keep getting Macromedia Flash Security Sandbox warning. I did go in and the line System.security.allowDomain(name_of_domain). That still did not work. I finally used the wild card allowDomain("*"). This also did not solve the security problem. Is there something I am missing here. If I use the security.allowDomain function, do I still need to deploy a crossdomain.xml file in the webserver root. And where does this is crossdomain policy go? In the webserver hosting the flash files or the one hosting the amfphp gateway.php file?? Thanks Ashwan. ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com