# Security sandbox error

**URL:** <https://forum.kirupa.com/t/security-sandbox-error/260824>\
**Category:** Uncategorized\
**Created:** [May 20, 2008, 9:33am UTC](https://forum.kirupa.com/t/security-sandbox-error/260824 "2008-05-20T09:33:01Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![testmatrix](https://avatars.discourse-cdn.com/v4/letter/t/ecb155/32.png) [@testmatrix](https://forum.kirupa.com/u/testmatrix)\
**Post date:** [May 20, 2008, 9:33am UTC](https://forum.kirupa.com/t/security-sandbox-error/260824/1 "2008-05-20T09:33:01Z")

</div>

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](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](http://127.0.0.1) : it is coldfusion server ip.

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](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=“[http://127.0.0.1/flexcfm\_login/KMG\_TV/bin-debug/](http://127.0.0.1/flexcfm_login/KMG_TV/bin-debug/)” /\>\<allow-access-from domain="\*"

/\>  
\</cross-domain-policy\>

Still this error is coming …

Any help is appreciated.

---

<div class="post-metadata">

**Author:** ![Ikinsey](https://avatars.discourse-cdn.com/v4/letter/i/f14d63/32.png) [@Ikinsey](https://forum.kirupa.com/u/Ikinsey)\
**Post date:** [May 20, 2008, 5:07pm UTC](https://forum.kirupa.com/t/security-sandbox-error/260824/2 "2008-05-20T17:07:10Z")

</div>

The crossdomain file has to be in the root of wherever your localhost is set up on the comp.
