677
17
CHAPTER 17
Understanding Security
In Macromedia Flash Basic 8 and Macromedia Flash Professional 8, you can use ActionScript
to load data from external sources into a SWF file or send data to a server. When you load
data into a SWF file, you need to understand and accommodate the Flash 8 security model.
When you open a SWF file on your hard disk, you might need to make special configurations
so you can test your file locally.
For information on local file security, see “About local file security and Flash Player”
on page 679. For information on the changes between the Flash Player 7 and Flash Player 8
security model, see “About compatibility with previous Flash Player security models”
on page 677. For information on how to load and parse data from a server, read Chapter 16,
“Working with External Data,” on page 633. For more information on security, see
www.macromedia.com/devnet/security and www.macromedia.com/software/flashplayer/
security/.
For more information on security in Flash 8, see the following topics:
About compatibility with previous Flash Player security models . . . . . . . . . . . . . . . 677
About local file security and Flash Player . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .679
About domains, cross-domain security, and SWF files. . . . . . . . . . . . . . . . . . . . . . 694
Server-side policy files for permitting access to data. . . . . . . . . . . . . . . . . . . . . . . . .702
HTTP to HTTPS protocol access between SWF files. . . . . . . . . . . . . . . . . . . . . . . . 707
About compatibility with previous Flash
Player security models
As a result of the security feature changes in Flash Player 7, content that runs as expected in
Flash Player 6 or earlier might not run as expected in later versions of Flash Player. For
example, in Flash Player 6, a SWF file that resides in www.macromedia.com could read data
on a server located at data.macromedia.com; that is, Flash Player 6 allowed a SWF file from
one domain to load data from a similar domain.