cross-domain policy file

 

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 complete details, download the cross-domain policy file specification below. The specification is a reference for the structure and use of cross-domain policy files. This information can be used by developers and content providers to make sure their applications and servers conform to the rules set forth by policy files defined in this manner.

Read the specification:

Schemas

Schemas describe the structure of a document. The cross-domain policy file schema is available as DTD (Document Type Definition) or XSD (XML Schema Definition). XSDs are available to define the generic policy file schema, as well as each different type of policy file (either HTTP, HTTPS, FTP, or Socket) since policy files hosted in each of those contexts are slightly different. Table 1 lists all available schemas for policy files.

Table 1. Policy file DTDs and schemas

SchemaURL
Generic DTDhttp://www.adobe.com/xml/dtds/cross-domain-policy.dtd
Generic XSDhttp://www.adobe.com/xml/schemas/PolicyFile.xsd
HTTP XSDhttp://www.adobe.com/xml/schemas/PolicyFileHttp.xsd
HTTPS XSDhttp://www.adobe.com/xml/schemas/PolicyFileHttps.xsd
FTP XSDhttp://www.adobe.com/xml/schemas/PolicyFileFtp.xsd
Socket XSDhttp://www.adobe.com/xml/schemas/PolicyFileSocket.xsd
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值