crossdomain.xml file for silverlight

In the following example, you are allowing access to all domains by setting the value * for the domain attribute. You can restrict the access to specific domains by defining them explicitly. The cross-domain policy files must be located in the root of the server.

<?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>

Enjoyed this post? Share it!

 

Leave a comment

Your email address will not be published.