Silverlight Cross Domain Policy Error

To reduce the risk of Cross-site forgery exploits, Silverlight by default does not allow cross-domain communication. To allow a Silverlight control to access a service in another domain the permission needs to be explicitly set.

There are two different ways to allow cross-domain access:

Below is an example of a clientaccesspolicy.xml file. This file's configuration will allow access from any other domain to all resources on the current domain.

<?xml version="1.0" encoding="utf-8"?> 
      <allow-from http-request-headers="SOAPAction"> 
        <domain uri="*"/> 
        <resource path="/" include-subpaths="true"/> 

Below is an example of a crossdomain.xml file. This file will allow access from any other domain.

<?xml version="1.0"?> 
<!DOCTYPE cross-domain-policy SYSTEM ""> 
    <allow-http-request-headers-from domain="*" headers="SOAPAction,Content-Type"/> 
For more information, refer to Making a Service Available Across Domain Boundaries.

Help Version 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.
LEADTOOLS Imaging, Medical, and Document