Usage Note 53539: Using cross-domain policy files for Flash creatives
A cross-domain policy file is an XML document that grants a web client, such as Adobe Flash Player, permission to handle data across multiple domains. When a client hosts content from a particular source domain and that content makes requests directed towards a domain other than its own, the remote domain would need to host a cross-domain policy file that grants access to the source domain, allowing the client to continue with the transaction. Policy files grant read access to data, permit a client to include custom headers in cross-domain requests, and are also used with sockets to grant permissions for socket-based connections.
Beginning with the Flash Player 7 framework is the use of cross-domain policy files. A policy file is a simple XML file that gives the Flash Player permission to access data from a given domain without displaying a security dialog. When placed on a server, it tells the Flash Player to allow direct access to data on that server, without prompting the user to grant access. The server can be in any location available to the Flash movie and does not have to be in the same domain. Cross-domain policy files, named crossdomain.xml, are placed at the root level of a server. When using a policy file you can use a wildcard character (*) in a domain name.
Note: When serving a policy file, you must not use a cross-domain redirect, or the player will ignore the policy file.
Examples of crossdomain.xml files:
<?xml version="1.0"?>
<cross-domain-policy>
<site-control permitted-cross-domain-policies="master-only"/>
<allow-access-from domain="*.yourdomain.com" />
<allow-access-from domain="*.yourdomainsrc.com" />
</cross-domain-policy>
|
or:
<?xml version="1.0"?>
<cross-domain-policy>
<site-control permitted-cross-domain-policies="master-only"/>
<allow-access-from domain="*" />
</cross-domain-policy>
|
Operating System and Release Information
| SAS System | SAS Intelligent Advertising for Publishers | N/A | | |
*
For software releases that are not yet generally available, the Fixed
Release is the software release in which the problem is planned to be
fixed.
Using cross-domain policy files for Flash creatives.
| Date Modified: | 2014-07-31 15:43:29 |
| Date Created: | 2014-07-14 13:56:59 |