Improving the Security and Performance of Web Applications Running on the Distributed IPFS