terça-feira, 7 de junho de 2011

Loading Applications - About security domains

About security domains

Security domains define the level of trust between applications. In general, if a sub-application is loaded into the same security domain as the main application, then the applications have the highest level of interoperability.

You determine whether a sub-application is loaded into the same security domain as the main application when you load it. You can set the value of the trustContent (false=default) property to true to load a remote sub-application into the same security domain as the main application. To do this, though, the sub-application’s server must have a policy file (crossdomain.xml) that allows you to load it. The result is that the SWF file becomes trusted, and acts as if it was loaded locally.

Note: This behavior only applies if that application is loaded from a different web domain or subdomain than the main application. If the sub-application is loaded from the same web domain as the main application, then it is by default loaded into the same security domain.

Note: Setting the value of the loadForCompatibility property does not affect the trustContent property.

Note: When using AIR, you cannot set the value of the trustContent property to true.

Nenhum comentário:

Postar um comentário