More restrictive client access policy : Policy « Data « Silverlight






More restrictive client access policy

 
<?xml version="1.0" encoding="utf-8"?>
<access-policy>
    <cross-domain-access>
        <policy>
            <allow-from http-request-headers="*">
                <domain uri="http://sometrusteddomain.com/>"
            </allow-from>
            <grant-to>
                <resource path="/" include-subpaths="true"/>
            </grant-to>
        </policy>
        <policy>
            <allow-from>
                <domain uri="*/>"
            </allow-from>
            <grant-to>
                <resource path="/api"/>
            </grant-to>
        </policy>
    </cross-domain-access>
</access-policy>

   
  








Related examples in the same category

1.Base client access policy.xml for WebClient or HTTP access
2.Silverlight clientaccesspolicy.xml File That Grants Rights to the Root Path and Subpaths to Everyone
3.Silverlight clientaccesspolicy.xml File That Grants Access for Specific Directories to Specific Domains