Goal
- Prevent the appearance of malicious content or scripts on the site
Implementation
Use the integrity attribute of each link
and script
element (calling an external file) to provide the browser with the cryptographic hash (SRI hash) that should correspond with the file.
Find out more:
Control
Check for each link
and script
element (calling an external file) that the integrity
attribute indicating the cryptographic hash (SRI hash) is present that should correspond with the file.