问题
I'm currently hosting a flash game on my website which is https: . I've added a crossdomain file that specifies I only allow access from this website that my flash application is hosted on. If I download the swf file and try to run it from my local computer, it wont let me (which is what I wanted), however, if i go to flash -> global settings -> Advanced -> trusted location settings , and add the file that I've downloaded to the trusted locations, It will ignore the crossdomain and let me play (which is not what I want).
here's my crossdomain policy file:
$@"<cross-domain-policy>
<allow-access-from domain=""{Domain}""/>
<site-control permitted-cross-domain-policies=""master-only""/>
<allow-http-request-headers-from domain=""{Domain}"" headers=""*"" secure=""true""/>
</cross-domain-policy>";
I would appreciate any kind of help :=)
来源:https://stackoverflow.com/questions/53751372/flash-as3-crossdomain-bypass-issue