Progress® Telerik® Reporting R1 2018

IClientAccessPolicy Interface

Enables the access to the security policy required by Silverlight

Namespace:  Telerik.Reporting.Service
Assembly:  Telerik.Reporting.Service (in Telerik.Reporting.Service.dll)


public interface IClientAccessPolicy

The IClientAccessPolicy type exposes the following members.


Public methodGetClientAccessPolicy
Returns security policy file required by Silverlight when accessing a cross-domain service.


If the connection request was from a WebClient or an HTTP class to a cross-domain site, the Silverlight runtime tries to download the security policy file using the HTTP protocol. The Silverlight runtime first tries to download a Silverlight policy file with a name of "clientaccesspolicy.xml" at the root of the requested target domain using the HTTP protocol.

The default implementation of the IClientAccessPolicy interface returns a general policy that policy accepts connections from any domain and allows request headers and specifies resources that can be accessed and includes subpaths of these resources:

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

The IClientAccessPolicy service contract requres to be exposed through an endpoint configured to use a WebHttpBinding.

See Also

Is this article helpful? Yes / No
Thank you for your feedback!

Give article feedback

Tell us how we can improve this article