31002 shaares
1 résultat
taggé
Subresource
The Subresource Integrity feature allows web developers to ensure that externally-loaded scripts/assets from third-party sources (e.g. a CDN) haven't been altered.
The SRI specification adds a new "integrity" HTML attribute when loading such assets where you can specify a hash of the file source expected -- the loaded resource must then match the hash for it to be loaded.
Subresource Integrity is designed to increase the security of the web
by ensuring that CDNs or other third-parties aren't able to inject any malicious JavaScript into web-pages or make other changes to the web-page
The SRI specification adds a new "integrity" HTML attribute when loading such assets where you can specify a hash of the file source expected -- the loaded resource must then match the hash for it to be loaded.
Subresource Integrity is designed to increase the security of the web
by ensuring that CDNs or other third-parties aren't able to inject any malicious JavaScript into web-pages or make other changes to the web-page