开发者

javascript permission/access denied accessing parent non-ssl attributes from an ssl iframe

I understand that to access the parent properties of an iframe it has to be the same domain/scheme/ports, but being this only an ssl/non-ssl开发者_Go百科 issue, is there any workaround?


No. SSL/non-SSL means a different scheme and a different port.

Worse, if you could do this, then all an attacker has to do is inject some code into the non-SSL page, and that could access the SSL data, rendering it insecure.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜