Copy link to clipboard
Copied
My flash program makes a socket connection to my remote server. I serve the policy file through port 843 on the remote server. There are lots of domains (around 300) to whitlist through the policy file and the policy file is around 21KB in size. I am running into an issue that the flash program is having occasional problem (about 1 in 3 tries) making a socket connection to the remote server. However, if I remove half of the domains, there is no problem at all conencting to the server.
Is there a limitation on the size of the policy file or number of domains supported? Thanks for your answer.
Here is my policy file:
<?xml version="1.0"?>
<!DOCTYPE cross-domain-policy SYSTEM "/xml/dtds/cross-domain-policy.dtd">
<cross-domain-policy>
<site-control permitted-cross-domain-policies="master-only" />
<allow-access-from domain="domain1.com" to-ports="*" />
<allow-access-from domain="domain2.com" to-ports="*" />
<allow-access-from domain="domain3.com" to-ports="*" />
<allow-access-from domain="domain4.com" to-ports="*" />
<allow-access-from domain="domain5.com" to-ports="*" />
<allow-access-from domain="domain6.com" to-ports="*" />
<allow-access-from domain="domain7.com" to-ports="*" />
<allow-access-from domain="domain8.com" to-ports="*" />
<allow-access-from domain="domain9.com" to-ports="*" />
<allow-access-from domain="domain10.com" to-ports="*" />
<allow-access-from domain="domain11.com" to-ports="*" />
<allow-access-from domain="domain12.com" to-ports="*" />
<allow-access-from domain="domain13.com" to-ports="*" />
...
... Lots of other domains here
...
<allow-access-from domain="domain298.com" to-ports="*" />
<allow-access-from domain="domain299.com" to-ports="*" />
<allow-access-from domain="domain300.com" to-ports="*" />
</cross-domain-policy>
Have something to add?
Find more inspiration, events, and resources on the new Adobe Community
Explore Now