Code Clarity (TM) offers handcrafted and elegant Small Business Websites and Web Applications. We ar Web Development and Design firm based out of Boulder, Colorado. We specialize in W3C Standard complaint websites, SEO Marketing, PHP, Ruby on Rails, and much more. We also contribute to many open-source projects with interest and passion for Linux and Android.
Last year I was working with a client who was using Adobe PDFs like no other and Adobe Flash Videos that were on multiple domains and finally found a good use for cross-domain.xml. It was not until then that I realized the importance of that file. Well, I’m working with that file again right now and I wanted to share this PDF regarding the policy to help anybody who has questions about it.
This post was based off of a post that I made on Forrst at, http://forr.st/~6RP.
A good snippet of what the cross-domain.xml file is used for comes from the HTML5BP:
A cross-domain policy file is an XML document that grants a web client—such as Adobe Flash Player, Adobe Reader, etc.—permission to handle data across multiple domains. When a client hosts content from a particular source domain and that content makes requests directed towards a domain other than its own, the remote domain would need to host a cross-domain policy file that grants access to the source domain, allowing the client to continue with the transaction. Policy files grant read access to data, permit a client to include custom headers in cross-domain requests, and are also used with sockets to grant permissions for socket-based connections. For full details, check out Adobe’s article about Cross-domain policy file specification (adobe.com/devnet/articles/…).