What is the purpose of subresource integrity (SRI) when loading third-party scripts?
-
A
It blocks all third-party scripts by default
-
B
It verifies that a fetched resource matches an expected cryptographic hash
-
C
It routes third-party scripts through a proxy for scanning
-
D
It restricts scripts to same-origin only