|
Mailing Lists
|
Home /
Groups /
ColdFusion Talk (CF-Talk)
confused about CFCONTENT and Flash Player 7 domain security
Author: Marc A. Garrett
Short Link: http://www.houseoffusion.com/groups/cf-talk/thread.cfm/threadid:27841#140368
I'm confused about the interaction of Flash Player 7 domain security and the
ColdFusion CFCONTENT tag.
I'm using CFCONTENT to load images from above my site root into a Flash
loader component. I can assign a contentPath value of
"http://mydomain.com/page.cfm?image=image.jpg" to dynamically
load any
image.
But the first time -- and only the first time -- I publish the Flash movie,
Flash outputs the following error:
*** Security Sandbox Violation ***
SecurityDomain 'http://[my
domain.com]/contentLoader/contentTest.cfm?image=[my image.jpg]' tried to
access incompatible context 'file://C:\Documents and Settings\Marc\Local
Settings\Application Data\Macromedia\Flash MX
2004\en\Configuration\TMP3uryqmkudm..swf'
If I play the movie in Flash player 7, however, I do not get any security
warnings and the movie plays as desired.
Should a page using CFCONTENT to serve an image require a policy file? If
so, where would I put it, since the serving domain and client domain are
actually the same?
Thanks for any assistance.
--
Marc A. Garrett
since1968.com
|
May 24, 2012
|
Latest Fusion Authority Articles
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||