Objective
You want to load assets (like SWFs) and data (like RSS feeds) into your creatives from your own or other non-DART servers.
Solution
Set up the correct cross-domain policy file on the server hosting the data.
A cross-domain policy file is an XML file that provides a way for the server to indicate that its data and documents are available to SWF files served from some or all domains. Any SWF file that's served from a domain specified by the server's policy file is permitted to access data or assets from that server.
Policy files must be named crossdomain.xml and reside at the root directory of the server that's serving the file and must allow connections from either:
- All domains using * notation, or
- The different domains that DoubleClick Rich Media creatives are served from. Files can be served from a number of different domains depending on their type. So all possible domains must be added to the policy file.
For more information about the structure of this XML file, see:
- http://www.adobe.com/devnet/articles/crossdomain_policy_file_spec.html
- http://www.adobe.com/cfusion/knowledgebase/index.cfm?id=tn_14213
- http://www.adobe.com/devnet/flashplayer/articles/cross_domain_policy.html
How to
Below is a list of the DoubleClick domains that you can copy into your own crossdomain policy file, or you can download a policy file that contains the domains listed here.
<?xml version="1.0"?><!DOCTYPE cross-domain-policy SYSTEM "http://www.macromedia.com/xml/dtds/crossdomain- policy.dtd"><cross-domain-policy><allow-access-from domain="*.doubleclick.net" secure="false"/><allow-access-from domain="*.2mdn.net" secure="false"/><allow-access-from domain="*.dartmotif.net" secure="false"/><allow-access-from domain="*.doubleclick.net" secure="true"/><allow-access-from domain="*.doubleclick.com" secure="true"/><allow-access-from domain="*.doubleclick.com" secure="false"/><allow-access-from domain="*.2mdn.net" secure="true"/><allow-access-from domain="*.dartmotif.net" secure="true"/><allow-access-from domain="*.gstatic.com" secure="false"/></cross-domain-policy>
