开发者

Silverlight 4 - Download an html page from a different domain IN BROWSER?

I am trying to download a page using Silverlight 4 (http:开发者_高级运维//google.com/) from a different domain than where the app is hosted. I'm simply curious if this is possible in the browser. I know I can do it out of the browser, as I tried it already, but trying it in the browser gives a security exception (understandable).

I'd like to know if this can even be done, and if so, how? Thanks in advance.


This is known as cross domain access. The domain you want to download the page from has to allow cross domain access for Silverlight (or Flash) apps via a policy file. Details can be found here

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜