Questions tagged [subresource-integrity]

Subresource integrity is a draft mechanism to let browsers verify the integrity of web resources.

Subresource Integrity is implemented in multiple browsers and tools to help you use it, such at the SRI Hash Generator are also available.

Resources

Related tags

74 questions
1
vote
1 answer

Caching Dynamic Image in PHP

i have two things to complete in my project, First thing is to hide the image path,That is done using dynamically loading the image (imageJPEG) from imageConvert.php with the parameters,The Second thing is i need to implement client side browser…
insaneray
  • 75
  • 1
  • 11
1
vote
0 answers

Subresource Integrity check on locally hosted files?

I've done a tone of work to add Subresource Integrity output for externally loaded files on my site and I've tested extensively to make sure my sites are as secure and up to date as possible. But though I am able to generate an A+ rating on Mozilla…
Vince
  • 910
  • 2
  • 13
  • 29
1
vote
0 answers

Subresource integrity for ES6 module import

Considering one may want to import JS modules from CDNs or so, it may be important to ensure the integrity of the delivered JS modules. Fortunately, in the "old" integration method, we already had solved that problem with Subresource…
rugk
  • 4,755
  • 2
  • 28
  • 55
1
vote
1 answer

Hash Mismatch for Wordpress jquery 1.12.4

I am using latest (4.9.8) WordPress and currently working on adding integrity attribute to For the script above the…
0
votes
1 answer

SubResource Integrity for dynamic changing Javascript files?

I am trying to implement SubResource Integrity to the webpage. I have an inline javascript which gets constructed dynamically based on certain variables, https://example.com/.js Separate contents of the file is rendered for each…
0
votes
1 answer

How do I know my Subresource Integrity Tags (SRI) was not generated from a malicious CDN?

I understand in Angular for example that when building the project you can add a Subresource integrity (SRI) tags automatically using this command: ng build --subresource-integrity My question is how do I know when running that command that the…
Dil
  • 145
  • 1
  • 1
  • 9