User Guide

security (System.security) 1067
Because the ability to connect to ports lower than 1024 is new, a policy file loaded with
loadPolicyFile() must always authorize this connection, even when a movie clip is
connecting to its own subdomain.
For more information, see the following:
Chapter 17, "Understanding Security," in Learning ActionScript 2.0 in Flash
The Flash Player 8 Security white paper at http://www.macromedia.com/go/fp8_security
The Flash Player 8 Security-Related API white paper at http://www.macromedia.com/go/
fp8_security_apis
Availability: ActionScript 1.0; Flash Player 7,0,19,0
Parameters
url:String - A string; the URL where the cross-domain policy file to be loaded is located.
sandboxType (security.sandboxType property)
public static sandboxType : String [read-only]
Indicates the type of security sandbox in which the calling SWF file is operating.
System.security.sandboxType has one of the following values:
remote: This SWF file is from an Internet URL, and will operate under domain-based
sandbox rules.
localWithFile: This SWF file is a local file, and has not been trusted by the user, and
was not published with a networking designation. This SWF file may read from local data
sources, but may not communicate with the Internet.
localWithNetwork: This SWF file is a local file, and has not been trusted by the user, and
was published with a networking designation. This SWF may communicate with the
Internet, but may not read from local data sources.
localTrusted: This SWF file is a local file, and has been trusted by the user, using either
the Settings Manager or a FlashPlayerTrust configuration file. This SWF file may both
read from local data sources and communicate with the Internet.