Groups | Blog | Home
all groups > macromedia players flash > november 2005 >

macromedia players flash : BUG?: Flash player security problem after cache


JevgeniG
11/2/2005 8:22:30 AM
Hi all.

Here is a problem description:
There are two domains domain1 and domain2
domain1
index.swf
library.swf - this swf is used by index.swf as a shared library. URL is set
relative "library.swf"

domain2
index.html - this html is showing http://domain1/index.swf

Now problem: If I turn my settings in IE Cache settings to "Automatically" and
load index.html for the first time (after cache is cleared) then everything
works fine:
- browser downloads index.html from domain1
- browser downloads index.swf from domain2
- flash player requests browser to download library.swf from relative path.

Then, when I hit Refresh button:
- index.html is downloaded again or taken from cache - no matter
- index.swf is taken from cache AND somewhy (as it was taken from harddrive)
It's domain is not domain2 any more, but domain1 (Probably IE bug not Flash
Player)
- library.swf is not loaded because of *** Security Sandbox Violation ***

I've tried BASE in object and embed tags - did not help.
I know about src="index.swf?noCache="+Math.random() - not acceptable for my
project
I know about allowDomain("domain2") in index.swf - not acceptable for my
project
I know about all workarounds after 1 day googleing.

So the question is - did anyone meat anything like that? Have anyone seen any
official notes or promises about patches or smth.

Thank you.
Jevgeni.

JevgeniG
11/4/2005 12:00:00 AM
The problem comes out with 7th version of Flash Player.
With 8th it works fine.

AddThis Social Bookmark Button