Crossdomain Policy

Posted on 2012-09-07
Last Modified: 2012-09-08

I have a flash swf that loads several xml files, do I need to create a cross domain policy for each IP address that the xml file is loaded from?

 <?xml version="1.0"?>
	    <!DOCTYPE cross-domain-policy SYSTEM "">
	    <allow-access-from domain="123.456.789.000" />
	<allow-access-from domain="" />
	<allow-access-from domain="" />

Open in new window

Question by:sanjshah12
    LVL 37

    Expert Comment

    Only if you want to restrict the access from those domain names.


    Author Comment

    Thanks Cyan,

    I don't quite understand, I set the URL from another domain for the XML files but this does not work (nothing gets loaded) so I thought the error was the crossdomain loading.


    LVL 37

    Accepted Solution

    That crossdomain file need to be sitting in the domain that has your XML file not in the domain where yoir SWF file is. Is this the case?


    Featured Post

    How your wiki can always stay up-to-date

    Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
    - Increase transparency
    - Onboard new hires faster
    - Access from mobile/offline

    Join & Write a Comment

    I have been doing hardcore actionscripting for some time; and needless to say I have faced a lot of problems in just understanding others' code rather than understanding what the code executes. A programmer's life can become hell when there are a lo…
    I hope you'll find this tutorial useful and interesting. So let's try to extend Tcl with a new package.  For anyone more deeply interested please check out the book "Practical Programming in Tcl and Tk". It's really one of the best written books abo…
    In this fourth video of the Xpdf series, we discuss and demonstrate the PDFinfo utility, which retrieves the contents of a PDF's Info Dictionary, as well as some other information, including the page count. We show how to isolate the page count in a…
    In this fifth video of the Xpdf series, we discuss and demonstrate the PDFdetach utility, which is able to list and, more importantly, extract attachments that are embedded in PDF files. It does this via a command line interface, making it suitable …

    729 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    18 Experts available now in Live!

    Get 1:1 Help Now