# Cross Domain Policy File

**URL:** <https://forum.kirupa.com/t/cross-domain-policy-file/288112>\
**Category:** flash\
**Created:** [May 11, 2009, 12:51pm UTC](https://forum.kirupa.com/t/cross-domain-policy-file/288112 "2009-05-11T12:51:37Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![OML](https://avatars.discourse-cdn.com/v4/letter/o/5e9695/32.png) [@OML](https://forum.kirupa.com/u/OML)\
**Post date:** [May 11, 2009, 12:51pm UTC](https://forum.kirupa.com/t/cross-domain-policy-file/288112/1 "2009-05-11T12:51:37Z")

</div>

Hello,

I have a SWF that tries to connect to a Server and transfer text using XML-RPC. When running the application in Adobe CS4 Professional work space, it runs fine.  
When executing the SWF file, I get an error: **Adobe Flash Player Security** - “Adobe flash player has stopped a potentially unsafe operation”.

I can press the Settings button and solve the problem manually, but I’d like to know how this can be solved automatically.

I have read about cross domain policy files… So I created a generic XML that allows access from all the domains (\*), and placed it on the root of my server. Moreover, I called the loadPolicyFile method from my code.

This security message still appears… I don’t know what to do… ☹

OML
