# Cross Domain Issue

**URL:** <https://forum.kirupa.com/t/cross-domain-issue/186003>\
**Category:** flash\
**Created:** [April 18, 2006, 11:43am UTC](https://forum.kirupa.com/t/cross-domain-issue/186003 "2006-04-18T11:43:45Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![zeemanish](https://avatars.discourse-cdn.com/v4/letter/z/439d5e/32.png) [@zeemanish](https://forum.kirupa.com/u/zeemanish)\
**Post date:** [April 18, 2006, 11:43am UTC](https://forum.kirupa.com/t/cross-domain-issue/186003/1 "2006-04-18T11:43:45Z")

</div>

Hello there,

I have a Flash form which gets submitted to a ASP page which sends the form data to a pre-defined email address. Everything seems to work fine when I compile it on my local Windows box. The issue arises when I upload these files onto the web server.

Thing is, the SWF resides on a Linux server and the ASP script resides on a Windows server. For this I have used the “System.Security.allowDomain” method in the SWF to validate the domain address of the Windows server. And it isn’t working!

Could someone tell me where am I going wrong? Is it even possible to get it working in this manner?

Regards,

---

<div class="post-metadata">

**Author:** ![Mirandir](https://avatars.discourse-cdn.com/v4/letter/m/a5b964/32.png) [@Mirandir](https://forum.kirupa.com/u/Mirandir)\
**Post date:** [April 18, 2006, 12:10pm UTC](https://forum.kirupa.com/t/cross-domain-issue/186003/2 "2006-04-18T12:10:12Z")

</div>

The sandbox security in Flash dictates that it is the _remote_ source that must allow access. So “System.Security.allowDomain” is to let movies from the named domain access it.

You need to put a crossdomain.xml file in the root folder of the domain associated with the ASP-server.

[http://www.macromedia.com/cfusion/knowledgebase/index.cfm?id=tn\_14213](http://www.macromedia.com/cfusion/knowledgebase/index.cfm?id=tn_14213)

/Mirandir
