We accelerate websites

30 days free trial Sign up

Media Acceleration Stream to the world

30 days free trial Sign up

Extensive Network Excellent world coverage

Using Flash files with CDN - setting a cross-domain policy

Introduction

Please note that .swf Flash files might not work properly when requested from CDN on your website because Flash checks from what domain the .swf file and other media are loaded.

How to set cross-domain policy

To solve it you need to create a crossdomain.xml file on the CDN service origin (Origin domain or Origin Storage). Please refer here for more details on cross-domain policy.

The simplest solution is to put the following into the crossdomain.xml file.

<?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="*"/>
</cross-domain-policy>

What next?

Read about the following topics.

 
 __   __    ______   ______      ___    
 \ \\/ //  /_   _// |      \\   / _ \\  
  \   //    -| ||-  |  --  //  | / \ || 
  / . \\    _| ||_  |  --  \\  | \_/ || 
 /_//\_\\  /_____// |______//   \___//  
 `-`  --`  `-----`  `------`    `---`   
                                        
Contact 24/7
Blog Twitter LinkedIn Facebook CrunchBase Google+ / Google plus Foursquare Pinterest