sidoh
sidoh

Reputation: 590

Is there a way to force Socket to load cross-domain policies via HTTP?

When connecting to a remote server, Socket tries to load cross-domain policies by sending "<policy-file-request/>\0" to port 843 and then to the destination port. However, some of the servers I'm working with only have their cross-domain policies located at /crossdomain.xml served over HTTP port 80.

Is there a way to force Socket to load the cross-domain policies over HTTP?

I'm aware that URLLoader will use the HTTP cross-domain policies, but it doesn't quite suit my needs.

Upvotes: 0

Views: 340

Answers (1)

sidoh
sidoh

Reputation: 590

It looks like the answer is no. From Adobe:

Description: Policy files served over HTTP may no longer be used to authorize socket connections to that server. Instead, the connection must be authorized through a socket policy file. A socket policy file is a socket connection that is used to send Flash Player the XML containing the policy.

Upvotes: 2

Related Questions