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

x
?
Solved

Crossdomain Policy

Posted on 2012-09-07
3
Medium Priority
?
718 Views
Last Modified: 2012-09-08
Hi,

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">
	    <cross-domain-policy>
	    <allow-access-from domain="123.456.789.000" />
	<allow-access-from domain="www.mywebsite.com" />
	<allow-access-from domain="sub.mywebsite2.com" />
	    </cross-domain-policy> 

Open in new window

0
Comment
Question by:sanjshah12
  • 2
3 Comments
 
LVL 37

Expert Comment

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

CyanBlue
0
 

Author Comment

by:sanjshah12
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.

Regards,

Sanjay
0
 
LVL 37

Accepted Solution

by:
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?

CyanBlue
0

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