|
|
|
|
|
by geofft
3923 days ago
|
|
> However, someone other than you is still able to push code to your users without your acknowledgement (assuming you have trusted a third party key). Yes, I want that. I just want to control which third parties I trust. That's why it's called a "trusted third party", not just a "third party." > If you are already using a CDN, put your updated manifest (index.html) there as well. I'm not sure how this helps. Wouldn't this leave the index.html in the hands of the CDN, such that they are free to modify it? |
|
I guess I just don't see why I would trust a library developer, but not a CDN. If you don't control the keys, you don't know who has them. (Although, I'd also argue that you don't even really know if you do control the keys)
>I'm not sure how this helps. Wouldn't this leave the index.html in the hands of the CDN, such that they are free to modify it?
I think you are right, as the system currently works index.html would not be safe. Currently you need a more dynamic system where the manifest is protected as well. A sidechannel (WebSockets, WebRTC) could be established to securely deliver updated manifests (which a lightweight client would translate into DOM operations).