Consider integrity enforcement of iframe #21

Open
shekyan opened this Issue Dec 14, 2015 · 2 comments

2 participants

@shekyan

I can see enforcing integrity of iframe source can be useful when dealing with non-trusted origins.

@annevk
World Wide Web Consortium member

How would this work with navigation of the contents? Or even the initial creation of <iframe> which will always load about:blank.

@shekyan

It shouldn't. The way I see it is that integrity is checked for primary resource loaded with response code 2xx. (browsers can be helpful there and show supported digests of the content in "view source" tab). Once navigated away - let it load whatever. Integrity can also be checked if initial load is from data:, file:, filesystem:.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment