We accelerate websites

15 days free trial Sign up

Media Acceleration Stream to the world

15 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>
 
 _    _    _    _     ______    _____   
| || | || | || | ||  /_   _//  |  ___|| 
| || | || | || | ||  `-| |,-   | ||__   
| \\_/ || | \\_/ ||    | ||    | ||__   
 \____//   \____//     |_||    |_____|| 
  `---`     `---`      `-`'    `-----`  
                                        
Europe
  • Amsterdam
  • Baku
  • Bucharest
  • Budapest
  • Chelyabinsk
  • Copenhagen
  • Dubai
  • Dublin
  • Frankfurt
  • Helsingborg
  • Istanbul
  • Karlskrona
  • Khabarovsk
  • Kiev
  • Lisbon
  • London
  • Lvov
  • Madrid
  • Milan
  • Moscow
  • Odessa
  • Oslo
  • Rostov-on-Don
  • Saint Petersburg
  • Samara
  • Stockholm
  • Tel Aviv-Yafo
  • Trondheim
America
  • Arlington
  • Atlanta
  • Chicago
  • Dallas
  • Denver
  • Green Bay
  • Los Angeles
  • Miami
  • Montreal
  • New York
  • Phoenix
  • Portland
  • Provo
  • Queretaro
  • Reston
  • Sacramento
  • San Jose
  • Sao Paulo
  • Seattle
  • Toronto
  • Washington
Contact
  • e-mail: info@cdnsun.com
  • skype: cdnsun.com
  • phone: +1 844 300 9206
  • phone: +420 776 256 872
Blog Twitter LinkedIn Facebook CrunchBase Google+ / Google plus Foursquare Pinterest