Re: SRI and CORS

On Thu, Jul 3, 2014 at 3:52 PM, Frederik Braun <fbraun@mozilla.com> wrote:
> I can't think of an alternative solution. So, this means we can only
> safely have SRI for resources that are CORS-enabled or same-origin?

Yeah. It depends a bit on how we want the processing to work. E.g. either

  <img src=x integrity=hash(x)>

ignores integrity, fails if x returns a tainted response, or fails
because no crossorigin attribute was set in addition to integrity.


-- 
http://annevankesteren.nl/

Received on Thursday, 3 July 2014 13:58:30 UTC