Ticket #498 (closed Bug: Fixed)
Security sandbox violation: BitmapData.draw
| Reported by: | ir73 | Owned by: | paul |
|---|---|---|---|
| Priority: | Major | Component: | App Server |
| Version: | 0.8 RC2 | Keywords: | |
| Cc: |
Description
I have an application that makes a bitmap data snapshot from RTMP streamed video via Bitmapdata.draw() method. It all worked fine till I decided to update to the rev. 3284 (29 Oct 2008). Now flash throws an exception.
Here is the actionscript code that worked in revision 3093
var m:Matrix = new Matrix();
m.scale(scaleX, scaleY);
video.attachNetStream(null);
bmpData.draw(ui, m);
video.attachNetStream(_ns);
After I updated to rev. 3284 the flash player throws an exception with THE SAME SWF WITHOUT RECOMPILING IT.
SecurityError: Error #2123: Security sandbox violation: BitmapData.draw: http://192.168.2.62:8080/videobroadcast/VideoViewer.swf cannot access unknown URL. No policy files granted access.
at flash.display::BitmapData/draw()
.......................
....................]
So the problem must be in red5. Is there some new security policy in some red5 config?

