The Lucity web map uses Microsoft’s Silverlight technology. When the ArcServer machine that hosts the map services is separate from the web server that hosts the Lucity website, access needs to be granted to the web server so that the Silverlight webmap can use the map services.
Clients who want to use this map application will need to implement some policy files on the server where the map services are hosted to permit Silverlight to access the map services. This is done using one or two files installed in the wwwroot directory of the web server. These files are CrossDomain.xml and ClientAccessPolicy.xml. These policy files are shared with Adobe’s Flash player so it is possible that the files may already be configured if any Adobe content is currently accessed on the web server where the map services are hosted. Silverlight will always first attempt to download and check for a ClientAccessPolicy file. If it cannot find the ClientAccessPolicy file, it will look for a CrossDomain.xml file.
How To
<?xml version="1.0" encoding="utf-8"?>
<access-policy>
<cross-domain-access>
<policy>
<allow-from http-request-headers="*">
<domain uri="*"/>
</allow-from>
<grant-to>
<resource path="/" include-subpaths="true"/>
</grant-to>
</policy>
</cross-domain-access>
</access-policy>
<?xml version="1.0" encoding="utf-8"?>
<access-policy>
<cross-domain-access>
<policy>
<allow-from http-request-headers="*">
<domain uri="http://www.mysite.com"/>
</allow-from>
<grant-to>
<resource path="/" include-subpaths="true"/>
</grant-to>
</policy>
</cross-domain-access>
</access-policy>
<?xml version="1.0" encoding="utf-8"?>
<access-policy>
<cross-domain-access>
<policy>
<allow-from http-request-headers="*">
<domain uri="http://Norway"/>
</allow-from>
<grant-to>
<resource path="/" include-subpaths="true"/>
</grant-to>
</policy>
</cross-domain-access>
</access-policy>
<?xml version="1.0"?>
<!DOCTYPE cross-domain-policy SYSTEM "http://www.macromedia.com/xml/dtds/cross-domain-policy.dtd">
<cross-domain-policy>
<allow-http-request-headers-from domain="*" headers="*"/>
</cross-domain-policy>
See Also |