hmm ok so essentially if my app which is on
http://wc.wearab.net is trying to connect to a server
irc.freenode.net then the server should have the crossdomain policy file
which I need to include in my app
for example - > Security.loadPolicyFile("
http://irc.freenode.net/crossdomain.xml");
then the crossdomain file should have the allowdomain property either to *
or allow to http://wc.wearab.net
and in my app I allow all domains
Security.allowDomain("*");
Security.allowInsecureDomain("*");
So hopefull if I am write , it may not be possible to write sometime like an
mirc client that would connect to any irc server ,
unless all those servers had a crossdomain policy file
or I run my app locally
would I be correct on stating that ??
cheers :)
firdosh
On 11 Mar 2007 23:49:37 -0700, Alex Harui <[EMAIL PROTECTED]> wrote:
I think Firdosh has a misunderstanding of the security model. The
remote server must have the crossdomain.xml so that the server owner says,
"yes, I am willing to pay the costs to allow others to use my servers".
Some server resources that are SWF-based can try to access your app, but
they are normally not allowed unless you allowDomain that remote SWF.
-Alex
------------------------------
*From:* [email protected] [mailto:flexcompone
[EMAIL PROTECTED] *On Behalf Of *Josh Tynjala
*Sent:* Sunday, March 11, 2007 11:44 PM
*To:* [email protected]
*Subject:* Re: [flexcomponents] Re: Using Sockets on a server
Is the IRC server on wc.wearab.net? I thought you said you were connecting
to irc.freenode.net....
The crossdomain.xml needs to be on the same subdomain as the IRC server.
-Josh
Firdosh Tangri wrote:
yes again
Security.loadPolicyFile("
http://wc.wearab.net/flirc/IRCChat/bin/crossdomain.xml");
the app is here
http://wc.wearab.net/flirc/IRCChat/bin/IRCChat.html
firdosh
On 3/12/07, *Paul Hastings* <[EMAIL PROTECTED] > wrote:
Josh Tynjala wrote:
> Is there a crossdomain. xml on the server to which you're connecting?
and are you loading it?
Security.loadPolicyFile(crossdomainFileLocation);