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

The Local Realm, the Remote Realm, and Remote Regions

As we'll see throughout this chapter, ActionScript often bases security restrictions on the locations of .swf files and external resources. When evaluating a location from a security perspective, ActionScript makes a distinction between resources in remote locations and resources in local locations. In this chapter, we'll use the term remote realm when referring to the logical group of all possible remote locations, such as the Internet. Correspondingly, we'll use the term local realm when referring to the logical group of all possible local locations. A local location is any location that the user of the computer on which Flash Player is running can access using either the file: protocol (typically used to access the local filesystem) or a universal naming convention (UNC) path (typically used to access computers on a local area network).

The remote realm is, itself, further divided into distinct regions delimited conceptually by resource distributor. We'll call these distributor-delimited regions remote regions. Specifically, a remote region is any one of the following:

  • An Internet domain

  • An Internet subdomain

  • An IP address that points to a computer in the remote realm

Hence, according to the preceding list:

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