Expand my Community achievements bar.

Guidelines for the Responsible Use of Generative AI in the Experience Cloud Community.

security sandbox error

Avatar

Level 1
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.







0 Replies