O'Reilly logo

Essential ActionScript 3.0 by Colin Moock

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Security Domains

This section is intended to equip you with a basic understanding of the term security domain and its casual equivalent security sandbox, which is commonly used in Adobe's documentation and other third-party resources. For reasons described in the next section this book avoids the use of both terms.

Taken in combination, a given .swf file and the logical set of resources which that .swf file can freely access via accessing-content-as-data, loading-data, and cross-scripting operations (per Table 19-3 through Table 19-6) conceptually form a group known as a security domain. From the perspective of a .swf file from each of the four security-sandbox-types, Table 19-9 lists the constituents of that .swf file's security domain.

Tip

Don't confuse security-sandbox-type with security domain. A security-sandbox-type is a .swf file's general security status, while a security domain is a logical set of resources. A .swf file's security-sandbox-type actually determines its security domain, much as an employee's corporate rank might determine the accessible areas of a company building.

Table 19-9. Security domains by security-sandbox-type

.swf file's security-sandbox-type

Security domain constituents

Remote

  • Non-.swf resources from the .swf 's region of origin

  • .swf files from the .swf 's region of origin

Local-with-filesystem

  • Non-.swf resources in the local realm

  • local-with-filesystem.swf files in the local realm

Local-with-networking

  • local-with-networking.swf files in the local realm

Local-trusted ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required