About local file security and Flash Player 685
Republish and redeploy Republish the file with Flash Basic 8 or Flash Professional 8. The
authoring tool requires you to specify in the Publish Settings dialog box whether a local SWF
file can access the network or the local file system—but not both. If you specify that a local
SWF file can access the network, you also must enable permissions for that SWF file (and all
local SWF files) in the SWF, HTML, data, and/or server files that it accesses. For more
information, see “Publishing files for local deployment” on page 685.
Deploy new content Use a configuration (.cfg) file in the #Security/FlashPlayerTrust
folder. You can use this file to set network and local access permissions. For more
information, see “Creating configuration files for Flash development” on page 690.
Publishing files for local deployment
You might send your Flash 8 FLA or SWF files to a user to test or approve and need the
application to access the Internet. If your document plays back on a local system but accesses
files on the Internet (for example, loading XML or sending variables), your user might need a
configuration file for the content to function properly, or you might need to set up the FLA
file so the SWF file that you publish can access the network. Alternatively, you can set up a
configuration file inside the FlashPlayerTrust directory. For more information on setting up
configuration files, see “Creating configuration files for Flash development” on page 690.
Use Flash Basic 8 or Flash Professional 8 to create content for local deployment that works
with Flash Player 8 local file security. In Flash 8 publish settings, you must specify whether
local content can access the network or access the local file system, but not both.
You can set permission levels for a FLA file in the Publish Settings dialog box. These
permission levels affect the local playback of the FLA file, when it plays locally on a hard disk.
Network SWF files SWF files that download from a network (such as an online server) are
placed in a separate sandbox that corresponds to their unique website origin domains. Local
SWF files that specify they have network access are placed in the local-with-networking
sandbox. By default, these files can read data from only the same site from which they
originated. Exact-domain matching applies to these files. Network SWF files can access data
from other domains if they have the proper permissions. For more information on network
SWF files, see “Access network only” on page 687.
NOTE
Any of these options require that you either republish or redeploy your SWF file.
NOTE
If you specify network access for a local file, you must also enable permissions in the
SWF, HTML, data, and server files that are accessed by the local SWF file.