-
Notifications
You must be signed in to change notification settings - Fork 30
crossdomain
Tomasz Oponowicz edited this page Jul 18, 2014
·
11 revisions
A cross-domain policy file is an XML document that grants a web client, such as Adobe Flash Player or Adobe Acrobat (though not necessarily limited to these), permission to handle data across domains. When clients request content hosted on a particular source domain where that content make requests directed towards a domain other than its own, the remote domain needs to host a cross-domain policy file that grants access to the source domain which allows the client to continue the transaction.
Use the snippet below to create a new crossdomain.xml
file and place it in the root folder of your hosting:
<?xml version="1.0"?>
<!-- http://www.osmf.org/crossdomain.xml -->
<!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="*" />
</cross-domain-policy>
In the production environment you should use a more restrictive policy. For more information see the Adobe reference page.