Incorrect protocol for crossdomain.xml in flex application

I changed the protocol for my flex application from https to http, and flashplayer still wants to download crossdomain.xml using https, albeit with a port for http. the application is available at http: // domain01: 8080 / flex , and he wants to get https: .. samedomain ..: 8080 / crossdomain.xml (at https: .. samedomain..no_port / flex works fine).

Any idea why?

Many thanks,

Daniel

+3
source share
3 answers

There is no direct answer, since I have not tried this scenario with a non-standard port, but a couple of pieces of information that can lead to an answer:

http://learn.adobe.com/wiki/download/attachments/64389123/CrossDomain_PolicyFile_Specification.pdf?version=1

:

<?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="*.example.com" to-ports="507,516-523"/>
</cross-domain-policy>

:

10,0,12,0 , , " "

, Flash Player, , - 9- > 10 , , , .

Shaun

0

Flex (Atleast 3.5 AFAIK..) , Https... . , , crossdomain .

System.security.loadPolicyFile( 'https://MYDOMAIN: /crossdomain.xml');

0

crossdomain, , Security , crossdomain.xml ( , ). (, ).

:

Security.loadPolicyFile(<URI to the policy file goes here>);

ASDocs .

By controlling how politicians load, you can get more freedom and take a lot of guesswork from what could otherwise be a painful, frustrating experience. Flash Player allows you to download multiple policy files, which are convenient if you need to integrate more than one level of service (for example, on one host via HTTPS and another through HTTP).

Good luck

Taylor

0
source

Source: https://habr.com/ru/post/1770485/


All Articles