I am developping an application for IE 11 (other browsers are not suppoted). I need to check the integrity of the javascript file (file.js) before execute it. Is it possible to sing the file, or insure it is the original one that is used ? Thanks
Asked
Active
Viewed 331 times
1
-
https://developer.mozilla.org/en-US/docs/Web/Security/Subresource_Integrity – SLaks May 26 '17 at 15:45
-
2Why isn't HTTPS good enough? – SLaks May 26 '17 at 15:45
-
1What tune do you sing the code too? – epascarello May 26 '17 at 15:50
-
https://stackoverflow.com/questions/32039568/what-are-the-integrity-and-crossorigin-attribute – epascarello May 26 '17 at 15:51
1 Answers
1
You can use HTTPS to secure your JavaScript files. HTTPS will ensure that your JavaScript files have not been modified during transmission from server to your browser.

Nadir Latif
- 3,690
- 1
- 15
- 24