Flash8: Security problems

November 9th, 2005 at 04:23pm Administrator

Flexets Forum - learn Flex / AIR / Flash / ActionScript

If you're new here, you may want to subscribe to my RSS feed. If you like my site, consider linking back. I prefer text "Free Flash Tutorials" to http://www.franto.com
Thanks for visiting my site! If you need anything just contacting through Contact page

I have problem with security settings in Flash 8. Macromedia implements new security to Flash 8 because they think that flash player may have security holes. It’s nice, but problem is with backward compatibility, and I think, that’s big problem.

So example.

You have application on web, which should play “many” long videos to its users. It would be problem download many MBs of videos, so you rathers store videos on user’s hard drive. (No matter how you will copy videos to user HD, e.g kiosks). But now it seems, that you cannot load any file from local disk, if your application is on web. It is possible in Flash 7, but not Flash 8.

I have tried allowDomain commands, set settings in Macromedia Global Privacy Settings Panel, try all I know to load video from HD, but I had no succes, it seems, that this is not possible in Flash 8?

Am I right? If yes, that’s problem, because imagine situation: You have application written in Flash 7, and have million users, and now they upgrade their flash player to 8, and they will see no videos :( I think, this is problem.

So, anyone, please tell me, if it is possible to handle such situations? Anyone from Macromedia tell us, if this is possible. We have our clients, which choose us, because we had convinced them, that Macromedia have wonderful tool called Flash, which can do such thingy. So now Macromedia convince us, that we were right!

AddThis Feed Button

Entry Filed under:


Do you want to receive fresh news from my site?
Subscribe to my RSS

»Related posts:



34 Responses to “Flash8: Security problems”

Pages: [4] 3 2 1 » Show All

  1. 34
    jacopo Says:

    adobe’s documentation is confusing about this, please check:
    http://www.sephiroth.it/phpBB/showpost.php?p=32295&postcount=4

  2. 33
    Werbeagentur Says:

    Hi Franto,

    i add you on ICQ… Please accept me. Thanks

  3. 32
    Chris Gannon Says:

    1. Create ‘local.swf’

    2. Create ‘network.swf’

    3. In ‘local.swf’, place a button with this code:

    loadMovieNum(”http://www.yourspace.com/network.swf”,2);

    4. Upload ‘network.swf’ to the above URL

    5. Run ‘local.swf’ IN THE FLASH 8 PLAYER NOT THE BROWSER

    6. Click your button to load ‘network.swf’

    7. When the security box pops up, click Settings, then Edit Locations>Add Locations>Browse for file

    8. Find your ‘local.swf’ and select it

    9. Shut the browser window that opened

    10. Now, open your ‘local.swf’ EMBEDDED IN HTML IN A BROWSER - click your button again

    11. ‘network.swf’ now loads

    12. Make sure in your Flash Publish settings you have selected ‘Local Playback Security = Access Local Files only’ - (not sure if this makes a difference actually)

  4. 31
    sympleton Says:

    Have you heard anything definitive from Macromedia?

    Either Flash 8 was designed to prohibit a browser-based swf from accessing local files or it wasn’t. This issue is pretty much black and white.

    I was relying on this functionality as well so I too would very much like to hear THE ANSWER. Though I think I already know it: NO.

Pages: [4] 3 2 1 » Show All

Leave a Reply