Configuring the Crossdomain.xml File

Before you deploy the WebFOCUS GIS Viewer for Flex, ensure that the crossdomain.xml file is included in the root directory where ArcGIS Server is installed. This file is used to access data from a different server other than the one hosting the WebFOCUS GIS Viewer for Flex application.

For security reasons, Flex cannot access data other than where the .swf file for the deployed application is located. This is the primary reason why the crossdomain.xml file must reside on the remote server (ArcGIS Server). As a result, permissions are granted to Flash to access the services on the remote server. The crossdomain.xml file must be structured, as shown in the following example:

<?xml version="1.0"?>
<!DOCTYPE cross-domain-policy SYSTEM "http://www.adobe.com/xml/dtds/cross-domain-policy.dtd">
<cross-domain-policy>
   <site-control permitted-cross-domain-policies="all"/>
   <allow-access-from domain="*"/>
</cross-domain-policy>

For more information on how to configure the crossdomain.xml file, see the following web site:

http://resources.arcgis.com/en/help/flex-api/concepts/index.html#/Using_crossdomain_xml/017p0000001w000000/


WebFOCUS