I am little new to PWA world. I would like to know if we have some controls that are in place to ensure that if someone changes the files are have been downloaded at the client side are not changed and their integrity is ensured. I am aware of the fact that a hashmap of production files is created and the service worker is supposed to validate the hashmap against the local copy. But my concern is around the point that it is possible to modify the JS file corresponding to service worker itself. When we draw an analogy to native applications we have concept of code signing. Do we have something similar here?
I am little new to PWA world. I would like to know if we have some controls that are in place to ensure that if someone changes the files are have been downloaded at the client side are not changed and their integrity is ensured. I am aware of the fact that a hashmap of production files is created and the service worker is supposed to validate the hashmap against the local copy. But my concern is around the point that it is possible to modify the JS file corresponding to service worker itself. When we draw an analogy to native applications we have concept of code signing. Do we have something similar here?