How your data is safe in Hyperledger Fabric when one can make changes to couchdb data directly

后端 未结 8 1101
小鲜肉
小鲜肉 2020-12-09 22:35

I am wondering that how your data is safe when an admin can change the latest state in Couchdb using Fauxton or cURL provided by

8条回答
  •  离开以前
    2020-12-09 23:24

    That's the beauty of a decentralized distributed system. Even if you or someone else changes the state of your database/ledger it will not match with the state of others in the network, neither will it match the transaction block hash rendering any transactions invalid by the endorsers unless you can restore the actual agreed upon state of the ledger from the network participants or the orderer. To take advantage of the immutability of ledger you must query the ledger. Querying the database does not utilize the power of blockchain and hence must be protected in fashion similar to how access to any other database is protected.

提交回复
热议问题