I think web3 is not completely decentralized or safe to use.
Consider the following example:
I have made a voting Dapp on Ethereum.
- Now my smart contract will be on the Ethereum blockchain and my variable and functional calculation will be evaluated on EVM.
- But still I need to host my website (HTML/JavaScript code) using a web hosting service like Heroku (which will then communicate with the Ethereum blockchain to provide information).
- It is true that a hacker won't be able to edit data (because it is on Ethereum), but he/she can still hack web hosting service (Heroku), right?
And if it is hacked my Dapp won't be available to people. Then why is Ethereum considered as safe to use?
Please someone correct me if I am wrong, or suggest an alternative solution that even website service cannot be hacked.