by e12e · 7y ago · 0 comments
https://developer.mozilla.org/en-US/docs/Web/Security/Subres...
Ed: it might, for example be easier to email an attached minimal html file, than a 50mb electron app (multiply by 5 for working on the five major platforms; windows, Linux, Macos, Android and ios). That email might be internal, or signed however you usually sign mails (gpg, s/mime). Or you could host it on a minimal, secure webserver that only served static files over ssl etc
It would be a good PoC I guess, but not practical yet for most people.
<html>
<script
src=example.cdn/app.js (SRI hash) />
</html>
If your app.js go including unknown fonts and js etc... Then, yeah, you've got problems.