|
|
|
|
|
by antoineMoPa
3616 days ago
|
|
I tend not to use CDNs as I feel they could hypothetically allow to track anyone on any website and they could be used to provide backdoors in my apps (hypothetical example: Trump gets elected and decides all the jquery.min.js files sent to Canada via US CDNs have to include something that breaks Canadian apps, then my code stops working). I like to have all my libraries on my server. It would be awesome if something existed to use this tool while ensuring users do not modify the files |
|
That should be possible with subresource integrity.
https://developer.mozilla.org/en-US/docs/Web/Security/Subres...