I'm still learning to develop dApp and currently, I conduct some testing on my dApp.
I found out that someone who is part of the blockchain network (miner and node) can replace our deployed smart contract using Truffle
truffle migrate --reset --network networkName
I want to make sure that only the contract owner can replace the current smart contract. How can I do that?