Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn More

View all

Sign in to view all badges

security sandbox error

Avatar

Avatar
Level 1
mousumi_78
Level 1

Likes

0 likes

Total Posts

3 posts

Correct Reply

0 solutions
View profile

Avatar
Level 1
mousumi_78
Level 1

Likes

0 likes

Total Posts

3 posts

Correct Reply

0 solutions
View profile
mousumi_78
Level 1

20-05-2008

I am trying to access flv from flash media server which is in
my pc..F:/FlashServer/.



nc.connect ("rtmp://localhost/vod/");



its throwing an error "SecurityError: Error #2123: Security
sandbox violation:
http://127.0.0.1/flexcfm_login/KMG_TV/KMG_TV.swf
cannot access rtmp://localhost/vod/. No policy files granted
access."




http://127.0.0.1 : it is coldfusion
server ip(installed in my pc).





I put an crossdomain.xml file in F:/FlashServer/



<?xml version="1.0"?>

<!DOCTYPE cross-domain-policy

SYSTEM



"
http://www.macromedia.com/xml/dtds/cross-domain-policy.dtd">

<cross-domain-policy>

<allow-access-from domain="127.0.0.1" />

<allow-access-from domain="localhost" />

<allow-access-from domain="
http://127.0.0.1/flexcfm_login/KMG_TV/"
/>

<allow-access-from domain="*"/>

</cross-domain-policy>



Still this error is coming ..



Any help is appreciated.