How does a crossdomain.xml file look like?

If you want to store content on a different origin as the Flash based player which requests it, a cross-domain policy file is needed. It is an XML document that grants a web client, such as Adobe Flash Player permission to handle data across domains. A simple crossdomain.xml could look as follows:

<?xml version="1.0"?>
<allow-access-from domain="*" to-ports="80,443" secure="false"/>	 	 
<site-control permitted-cross-domain-policies="master-only" />	 	 

The crossdomain.xml example contains a single cross-domain-policy which allows access from every domain (wildcard in domain attribute) to the ports 80 and 443 (to-ports attribute). More information on settings and examples for such XML files, can be found at the related article from Adobe.

Simple Share Buttons