<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en-us" xmlns="http://www.w3.org/2005/Atom"><title>Simon Willison's Weblog: sri</title><link href="http://simonwillison.net/" rel="alternate"/><link href="http://simonwillison.net/tags/sri.atom" rel="self"/><id>http://simonwillison.net/</id><updated>2017-10-18T21:05:16+00:00</updated><author><name>Simon Willison</name></author><entry><title>SRI Hash Generator</title><link href="https://simonwillison.net/2017/Oct/18/sri-hash-generator/#atom-tag" rel="alternate"/><published>2017-10-18T21:05:16+00:00</published><updated>2017-10-18T21:05:16+00:00</updated><id>https://simonwillison.net/2017/Oct/18/sri-hash-generator/#atom-tag</id><summary type="html">
    
&lt;p&gt;&lt;strong&gt;&lt;a href="https://www.srihash.org/"&gt;SRI Hash Generator&lt;/a&gt;&lt;/strong&gt;&lt;/p&gt;
Handy utility for generating SRI hashes—just give it a URL and it will show you the script or link href block you need to use to safely embed that URL in your page with the correct SRI hash.


    &lt;p&gt;Tags: &lt;a href="https://simonwillison.net/tags/sri"&gt;sri&lt;/a&gt;&lt;/p&gt;



</summary><category term="sri"/></entry><entry><title>Subresource Integrity</title><link href="https://simonwillison.net/2017/Oct/18/sri/#atom-tag" rel="alternate"/><published>2017-10-18T21:03:04+00:00</published><updated>2017-10-18T21:03:04+00:00</updated><id>https://simonwillison.net/2017/Oct/18/sri/#atom-tag</id><summary type="html">
    
&lt;p&gt;&lt;strong&gt;&lt;a href="https://developer.mozilla.org/en-US/docs/Web/Security/Subresource_Integrity"&gt;Subresource Integrity&lt;/a&gt;&lt;/strong&gt;&lt;/p&gt;
Now supported in Firefox 55, Chrome 49+ and Safari 11+. This makes me much more comfortable about hot-linking to JavaScript and CSS hosted by the various CDN providers, since it means that should they get breached any evil new scripts hosted at the same URL will be denied by modern browsers.


    &lt;p&gt;Tags: &lt;a href="https://simonwillison.net/tags/firefox"&gt;firefox&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/sri"&gt;sri&lt;/a&gt;&lt;/p&gt;



</summary><category term="firefox"/><category term="sri"/></entry></feed>