[CSP] is frame-src a load-time restriction or permanent jail?

Should the CSP frame-src directive only restrict the initial load of
frame content (including redirects) or should it function as an
iframe "jail"? The spec talks about loading the iframe content but
doesn't say anything about what happens if the framed content
navigates after that.

The Mozilla implementation is a "jail": navigation within the frame
can only be to a URL permitted by the parent's frame-src directive.
We believe the stricter interpretation is safer than enforcing the
directive only on the initial load and any redirects.

-Dan Veditz

Received on Friday, 1 July 2011 06:15:13 UTC