
CHAPTER 3
48
By default, a SWF file served over an unsecure protocol, such as HTTP, cannot access other documents served
over the secure HTTPS protocol, even when those documents come from the same domain. As a result, if you
loaded the SWF file over HTTP but want to connect to the service through HTTPS, you must add
secure="false" in the crossdomain.xml file on the services’s server, as the following example shows:
<cross-domain-policy>
<allow-access-from domain="*.mydomain.com" secure="false"/>
</cross-domain-policy>
If you loaded the SWF file over HTTPS, you do not have to make any changes.
Writing secure Flex applications
When you code a Flex app ...