Flash Player Security Options

3

If you run a SWF on your desktop that communicates with data sources on your local PC, you will probably get an error. As I have found with Xcelsius over time, the two most common causes for connectivity errors other than user error is the absence of a cross domain policy file, or the flash player security settings not being set. To access Flash player security settings, go to the following URL:
http://www.macromedia.com/support/documentation/en/flashplayer/help/settings_manager04.html

Inside, you will see the following:
Flash Security

If you are concerned with security, you can define a specific directory on your PC or Internet that Flash player can access. As you can see in the screenshot, I define “C:/”, which ensures that I can run SWFs anywhere on my PC that may use local XML files.

After you make changes you can close the browser window… There is no save or execute button. When you re-open your SWF, the new security settings are enabled.

For more information on this topic, you can go to:
http://www.macromedia.com/support/documentation/en/flashplayer/help/settings_manager.html#117164

Share.

3 Comments

  1. Hello Ryan,

    First of all – I enjoy visiting your blog on a regular basis (as well as reading your articles published elsewhere).

    Thanks for the tip on cross domain policy files. However useful, I have still to figure out why my Xcelsius 4.5 models will not fetch data from a webservice on a foreign domain. The foreign domain has a crossdomain.xml file with the
    allow-access-from domain=”*” policy.

    In my Flash log of Flash Player 9 I recieve the error:

    “Error: Request for resource at http://www.webservicex.net/CurrencyConvertor.asmx by requestor from http://bi.stieper.dk/wp-content/uploads/2008/10/currency_converter.swf is denied due to lack of policy file permissions.”

    I have yet to figure out if I can do anything about this, or if it is webservicex.net who will have to change their policy file – can you help me on this issue?

  2. Hi Ryan,
    I have implemented the cross-domain policy but I still have an issue with one of the online dashboard which has been hosted on an Intranet SharePoint Portal.It still throws me the “Error 2123”. Pls suggest how to go abt it.

Leave A Reply