Flash and multiple domains / subdomains => crossdomain.xml?

I am trying to use flash script (plupload) for all my domains and subdomains hosting it in my static subdomain.

The swf file is placed on my static.mydomain.com/path/to/file.swf

And I want to use this file in my other domains and subobject, for example: www.mydomain.com or asubdomain.mydomain.com I would also like to use it on another domain for the same domain name, for example: mydomain.net

But I do not use it. And if I put the swf file in my subdomain, where I want to use it, it works fine.

So it seems to me that I need to place crossdomain.xml somewhere, but I don't know where? Only on my static subdomain? On each of my subdomains?

thanks for the help

0
flex flash cross-domain
Oct. 20
source share
1 answer
<?xml version="1.0"?> <!DOCTYPE cross-domain-policy SYSTEM "http://www.adobe.com/xml/dtds/cross-domain-policy.dtd"> <cross-domain-policy> <site-control permitted-cross-domain-policies="all"/> <allow-access-from domain="*" secure="false"/> <allow-http-request-headers-from domain="*" headers="*" secure="false"/> </cross-domain-policy> 

if you want "less free" XML, duplicate one of the lines * , placing your subdomains (s) one after another or using an abbreviated line such as *.mydomain.com .

taken from:

.

+3
Oct 17 '14 at 21:35
source share



All Articles