There are several mechanisms in place to keep the user and host secure when running Flex apps in the Flash Player.
A good overview of security concerns: Creating More Secure SWF Web Applications
Complete coverage of Flash Player 9 security mechanisms: Flash Player 9 Security
In summary each SWF file is run in a sandbox associated with its host. The SWF may freely access other SWFs and files in its sandbox and may be granted access priveleges to SWFs and files in other sandboxes.
Cross-domain policy files are hosted on a server to define the access privileges granted to SWFs from other domains. These priveleges include the ability to read files, send custom HTTP headers and open sockets. The full policy file specification is at: Cross-Domain Policy File Specification.
Flex applications do not have access to the local file system, except to .so (shared object) files as restricted by the user. The user may disallow all file access or may set the maximum amount of space available to the application (none to unlimited, 100kB default). The application may also prompt the user to request more file storage space.
5.27.2008
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment