Re: [flexcoders] Re: Having trouble with swf app and proxies
On Tuesday 28 November 2006 02:51, Ben Marchbanks wrote: Can you elaborate on exactly how we might overcome the proxy issue ? Rather than the Flex loaded from http://your.host/foo.swf (try to) talk to http://another.host:80/flex2gateway have it talk to http//your.host:80/proxyTo/another.host/flex2gateway How you now map the incoming traffic from that URL to the real URL depends on your web server etc., but I'd use mod_proxy in Apache. -- Tom Chiverton Helping to challengingly compete interdependent features This email is sent for and on behalf of Halliwells LLP. Halliwells LLP is a limited liability partnership registered in England and Wales under registered number OC307980 whose registered office address is at St James's Court Brown Street Manchester M2 2JF. A list of members is available for inspection at the registered office. Any reference to a partner in relation to Halliwells LLP means a member of Halliwells LLP. Regulated by the Law Society. CONFIDENTIALITY This email is intended only for the use of the addressee named above and may be confidential or legally privileged. If you are not the addressee you must not read it and must not use any information contained in nor copy it nor inform any person other than Halliwells LLP or the addressee of its existence or contents. If you have received this email in error please delete it and notify Halliwells LLP IT Department on 0870 365 8008. For more information about Halliwells LLP visit www.halliwells.com. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
[flexcoders] Re: Having trouble with swf app and proxies
I am having a similar issue with an application we hope to launch to the general public in January. In our beta testing we have clients who need to access their own special Flex app portal and currently their proxy server is looking for the crossdomain.xml policy file. Clearly we cannot expect to install the cd.xml file on remote servers. Is there a solution and if not doesn't this kill Flex as an interface for applications designed for world wide distribution ??? --- In flexcoders@yahoogroups.com, Francisco Martin B. - nJooy Lab [EMAIL PROTECTED] wrote: Hello! I have developed a AS3 Flex2 application deployed in a web server as a SWF file. The app use sockets on non standard ports. My company network has a proxy and I can't access internet directly. When I load the SWF file from the server X, a sandbox security error is displayed in the Flash Player because I am trying to access data from server Y. To fix the problem I am using A Proxy-savvy Socket in ActionScript 3 from Christian Cantrell http://weblogs.macromedia.com/cantrell/archives/2006/07/a_proxy-savvy_s.cfm I configured the app to use the proxy IP and port, but I continue having troubles, because now Flash player it's requesting a policyfile to the proxy! The proxy has IP Z and the swf has been downloaded from IP X, so there is a domain violation... Of course, the proxy doesn't know anything about flash policy files...and rejects the request. Any help? Thanks in advance, Franky
RE: [flexcoders] Re: Having trouble with swf app and proxies
Flex is a presentation layer technology. If the security sandbox trips you up, just proxy the calls through your server platform. Tracy From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of pdflibpilot Sent: Monday, November 27, 2006 5:20 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Having trouble with swf app and proxies I am having a similar issue with an application we hope to launch to the general public in January. In our beta testing we have clients who need to access their own special Flex app portal and currently their proxy server is looking for the crossdomain.xml policy file. Clearly we cannot expect to install the cd.xml file on remote servers. Is there a solution and if not doesn't this kill Flex as an interface for applications designed for world wide distribution ??? --- In flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com , Francisco Martin B. - nJooy Lab [EMAIL PROTECTED] wrote: Hello! I have developed a AS3 Flex2 application deployed in a web server as a SWF file. The app use sockets on non standard ports. My company network has a proxy and I can't access internet directly. When I load the SWF file from the server X, a sandbox security error is displayed in the Flash Player because I am trying to access data from server Y. To fix the problem I am using A Proxy-savvy Socket in ActionScript 3 from Christian Cantrell http://weblogs.macromedia.com/cantrell/archives/2006/07/a_proxy-savvy_s. cfm http://weblogs.macromedia.com/cantrell/archives/2006/07/a_proxy-savvy_s .cfm I configured the app to use the proxy IP and port, but I continue having troubles, because now Flash player it's requesting a policyfile to the proxy! The proxy has IP Z and the swf has been downloaded from IP X, so there is a domain violation... Of course, the proxy doesn't know anything about flash policy files...and rejects the request. Any help? Thanks in advance, Franky