开发者

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

开发者 https://www.devze.com 2023-03-12 05:01 出处:网络
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

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

精彩评论

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