[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now


Crossdomain Policy

Posted on 2012-09-07
Medium Priority
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 "http://www.macromedia.com/xml/dtds/cross-domain-policy.dtd">
	    <allow-access-from domain="123.456.789.000" />
	<allow-access-from domain="www.mywebsite.com" />
	<allow-access-from domain="sub.mywebsite2.com" />

Open in new window

Question by:sanjshah12
  • 2
LVL 37

Expert Comment

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


Author Comment

ID: 38377716
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

CyanBlue earned 1000 total points
ID: 38378405
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

Important Lessons on Recovering from Petya

In their most recent webinar, Skyport Systems explores ways to isolate and protect critical databases to keep the core of your company safe from harm.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

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…
I have found that much of my time doing support ends up being a constant repetition of the same steps to different people.  Early on I stated using web pages with Frequently Asked Questions (FAQs) to alleviate most of the burden.  Sometimes this jus…
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 …
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.
Suggested Courses
Course of the Month19 days, 18 hours left to enroll

872 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