1 (edited by chumby1 2010-08-16 07:20:28)

Topic: What is a Crossdomain.xml?

What is a crossdomain and what is it's purpose? I created a simple application for the Chumby and I did not create a crossdomain, so I'm not sure what the purpose of this is?

Any help would be great since the Chumby experts weren't able to help me, I'm hoping someone out there will be able to!

Re: What is a Crossdomain.xml?

http://wiki.chumby.com/mediawiki/index. … y#Security

This also links to adobe's website explaining the file's purpose and another wiki document for how to create one.

From http://kb2.adobe.com/cps/142/tn_14213.html :

Another change to the Flash Player 7 framework is the use of cross-domain policy files. A policy file is a simple XML file that gives the Flash Player permission to access data from a given domain without displaying a security dialog. When placed on a server, it tells the Flash Player to allow direct access to data on that server, without prompting the user grant access.

Re: What is a Crossdomain.xml?

So basically, if I upload my widget to my website, for example, I would need to include this security measure so that my Chumby can access it?

Because I uploaded a widget to the Chumby website without any cross domain files and it worked fine. I just don't understand when it would be used? Can you post an example?

Thank you for your help! I really appreciate it smile

Re: What is a Crossdomain.xml?

It depends upon what that widget does - a crossdomain.xml file is generally needed if the widget loads XML, LoadVars or another SWF.  It's not requires to load images.

Re: What is a Crossdomain.xml?

Oh okay. My widget was just a test of a car going from the left hand side of the screen to the right. Nothing complex. But now I understand why you would need the crossdomain.xml file.

Thank you Duane! I really appreciate the help.