Link to home
Start Free TrialLog in
Avatar of sanjshah12
sanjshah12Flag for United Kingdom of Great Britain and Northern Ireland

asked on

Crossdomain Policy

Hi,

I have a flash swf that loads several xml files, do I need to create a cross domain policy for each IP address that the xml file is loaded from?

 <?xml version="1.0"?>
		
	    <!DOCTYPE cross-domain-policy SYSTEM "http://www.macromedia.com/xml/dtds/cross-domain-policy.dtd">
	    <cross-domain-policy>
	    <allow-access-from domain="123.456.789.000" />
	<allow-access-from domain="www.mywebsite.com" />
	<allow-access-from domain="sub.mywebsite2.com" />
	    </cross-domain-policy> 

Open in new window

Avatar of CyanBlue
CyanBlue
Flag of United States of America image

Only if you want to restrict the access from those domain names.

CyanBlue
Avatar of sanjshah12

ASKER

Thanks Cyan,

I don't quite understand, I set the URL from another domain for the XML files but this does not work (nothing gets loaded) so I thought the error was the crossdomain loading.

Regards,

Sanjay
ASKER CERTIFIED SOLUTION
Avatar of CyanBlue
CyanBlue
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial