Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use Subresource Integrity in installation instructions #23

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

e2jk
Copy link

@e2jk e2jk commented Nov 23, 2019

This adds the integrity and crossorigin attributes to the CDN install instructions.
BootstrapCDN implented this in 2015 already.

Copied from https://www.srihash.org/ (which I used to calculate these hashes):
SRI is a new W3C specification that allows web developers to ensure that resources hosted on third-party servers have not been tampered with. Use of SRI is recommended as a best-practice, whenever libraries are loaded from a third-party source.

Learn more about how to use subresource integrity on MDN.

This adds the `integrity` and `crossorigin` attributes to the CDN install instructions.
BootstrapCDN [implented this](jsdelivr/bootstrapcdn#555) in 2015 already.

Copied from https://www.srihash.org/ (which I used to calculate these hashes):
SRI is a new [W3C specification](https://www.w3.org/TR/SRI/) that allows web developers to ensure that resources hosted on third-party servers have not been tampered with. Use of SRI is recommended as a best-practice, whenever libraries are loaded from a third-party source.

Learn more about [how to use subresource integrity](https://developer.mozilla.org/docs/Web/Security/Subresource_Integrity) on MDN.
@gitbrent gitbrent self-assigned this Dec 6, 2019
@gitbrent gitbrent added the enhancement New feature or request label Dec 6, 2019
@gitbrent gitbrent added this to the 3.7.0 milestone Dec 6, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants