开发者

How to use Socket in AC3 or other solution for using embedded flash without cross domain policy?

开发者 https://www.devze.com 2022-12-13 14:25 出处:网络
How to use Socket in AC3 or other solution for using embedded flash without cross domain policy? I would like to create a project that uses HTTP to post to some website\'s form by using embedded fl

How to use Socket in AC3 or other solution for using embedded flash without cross domain policy?

I would like to create a project that uses HTTP to post to some website's form by using embedded flash in a webpage. When I finished the project, I tried to embed on the local computer and that work fine but when I uploaded to a web server in the some domain and re开发者_如何学运维quested to some different domain it stopped working. I know that's the security of ac3 but I would like to use embedded flash.

Does anybody have any idea about this?


Unfortunately one of the main purposes of the cross domain policy is to prevent exactly what it sounds like you're trying to do.

Without requiring a cross domain policy to 'ok' the use of the website like this it would be possible to have a simple flash trojan which did a DDOS attack against a website from a bunch of machines.

If you're embedding flash it may be possible that AIR has some way to do what you want - but other than a cursory look I haven't used it.

0

精彩评论

暂无评论...
验证码 换一张
取 消