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
Bedrock Mission!

Learn more

View all

Sign in to view all badges

Adobe Summit 2023 [19th to 23rd March, Las Vegas and Virtual] | Complete AEM Session & Lab list

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