Đang chuẩn bị liên kết để tải về tài liệu:
Essential ActionScript 3.0 PHẦN 6

Không đóng trình duyệt đến khi xuất hiện nút TẢI XUỐNG

Create the policy file Policy files that grant permission to perform socket connections have the same basic syntax as policy files that grant permission to perform loading-data and accessingcontent-as-data operations. However, in policy files that grant permission to perform socket connections, the tag includes an additional attribute, to-ports, as shown in the following code: The to-ports attribute specifies the ports to which a .swf file from domainOrIP is authorized to connect. The ports can be listed individually (separated by commas), or in ranges (separated by the - character). For example, the following policy file grants the following. | Create the policy file Policy files that grant permission to perform socket connections have the same basic syntax as poiícy flies that grant prrmission to peffomi loading-data and cceessing-content-as-data operations. However in policy files that grant permission to perform socket connections the allow-access-from tag includes an additional attribute to-ports as shown in the following code xml version 1.0 DOCTYPE cross-domain-policy SYSTEM http www.adobe.com xml dtds cross-domain-policy.dtd cross-domain-policy allow-access-from domain domainOrIP to-ports ports cross-domain-policy The to-ports attribute specifies the ports to which a .swf file from domainOrIP is authorized to connect. The ports can be listed individually separated by commas or in ranges separated by the - character . For example the following policy file grants the following permissions .swf files from example1.com can connect to ports 9100 and 9200. .swf files from example2.com can connect to ports 10000 through 11000. xml version 1.0 DOCTYPE cross-domain-policy SYSTEM http www.adobe.com xml dtds cross-domain-policy.dtd cross-domain-policy allow-access-from domain example1.com to-ports 9100 9200 allow-access-from domain example2.com to-ports 10000-11000 cross-domain-policy Within the value of to-ports the character acts as a wildcard when a policy file is retrieved over a socket on a port less than 1024 indicates that access to any port is authorized when a policy file is retrieved over a socket on a port greater than or equal to 1024 indicates that access to any port greater than or equal to 1024 is authorized. 2_ Because ports under 1024 are considered sensitive a policy file served over port 1024 or greater can never authorize access to ports below v ĨỊÃ 1024 even if those ports are listed specifically. For example if the following policy file is served on port 2000 it grants .swf files from example3.com permission to connect to all ports greater than or equal to 1024. xml version 1.0 .

Đã phát hiện trình chặn quảng cáo AdBlock
Trang web này phụ thuộc vào doanh thu từ số lần hiển thị quảng cáo để tồn tại. Vui lòng tắt trình chặn quảng cáo của bạn hoặc tạm dừng tính năng chặn quảng cáo cho trang web này.