Posts

Showing posts with the label Cross-Domain

Cross-domain Policy File Specification

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. Sample Case 1… <?xml version="1.0" ?> <cross-domain-policy>      <allow-access-from domain="*" /> </cross-domain-policy> here the allow-access-from element specifies that content from '*' means any requesting domain can access any data within the target domain Sample Case 2….