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
Flash Player Distribution
Distribution Information
The Flash Player may be freely distributed with the following restrictions:
1) May not be publicly distributed, must be on an intranet or CD/DVD media
2) Distribution license must be obtained and renewed yearly (simple web form to get the license)
3) Only the release browser plugins may be distributed, not the debug versions or the standalone Flash Player
4) Must be distributed to a supported platform: Windows (98-Vista), Mac OS X, Red Hat Enterprise Linux, Novell SuSE, Solaris 10
The distributable Flash Player installer is provided in several formats: EXE, MSI, DMG, GZIP, RPM.
The Flash Player may be freely distributed with the following restrictions:
1) May not be publicly distributed, must be on an intranet or CD/DVD media
2) Distribution license must be obtained and renewed yearly (simple web form to get the license)
3) Only the release browser plugins may be distributed, not the debug versions or the standalone Flash Player
4) Must be distributed to a supported platform: Windows (98-Vista), Mac OS X, Red Hat Enterprise Linux, Novell SuSE, Solaris 10
The distributable Flash Player installer is provided in several formats: EXE, MSI, DMG, GZIP, RPM.
Flash Player Detection / Installation
The web page hosting a Flex app should detect the existence and version of the Flash Player and provide options for installing/upgrading as necessary.
The most complete and up to date information is found in the Flash Player Detection Kit.
The basic process works like this:
The most complete and up to date information is found in the Flash Player Detection Kit.
The basic process works like this:
- Detect if JavaScript is enabled, otherwise use the noscript tag to show alternate content
- Use a bit of JavaScript to detect the existence and version of the Flash Player
- If the Flash player is not installed provide a link to download the Flash Player or initiate an immediate install/upgrade using the Express Install feature
Flash Player Administration
Everything you need to know about Flash Player administration can be found at Flash Player Admin Guide.
Here is a brief summary:
Here is a brief summary:
- The Flash player is available as a release version or a debug version
- The Flash player is distributed in two forms: ActiveX control for Internet Explorer and plugin for other browsers
- Flash player is installed at C:\windows\system32\Macromed\Flash on Windows XP/Vista
- Local data is stored at C:\Documents and Settings\
\Application Data\Macromedia\Flash Player\#SharedObjects\ on Windows XP The currently installed version may be found at About Flash Player Release notes for all Flash Player 9 versions: Release Notes Archive of all Flash Player versions: Flash Player Archive Standard public download page: Get Flash Player Support center which provides debug versions and uninstallers: Support Center Downloads Upgrading to a newer version does not require an uninstall Reverting to an older version requires an uninstall/reboot/install procedure The safest way to uninstall is to use the official uninstaller (see Support Center Downloads) Flash Player configuration is accessed through Flash Player Configuration and provides options to turn caching on/off, allow apps to save local data and security options
SWF File Format
.swf (acronym for Shockwave Flash) is the extension used for Flex apps in their binary form, similar to .class files in Java.
The SWF file format is published at SWF File Format.
The SWF file format is published at SWF File Format.
Subscribe to:
Posts (Atom)