Blockchain workbench data updates

%3CLINGO-SUB%20id%3D%22lingo-sub-797656%22%20slang%3D%22en-US%22%3EBlockchain%20workbench%20data%20updates%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-797656%22%20slang%3D%22en-US%22%3E%3CP%3EI've%20deployed%20an%20ethereum%20blockchain%20workbench%20with%20a%20custom%20blockchain%20contract.%26nbsp%3B%20I'm%20able%20to%20create%20transactions%20via%20the%20workbench%20ui%20and%20I've%20also%20written%20a%20custom%20mvc%20app%20that%20is%20integated%20to%20present%20a%20custom%20ui%20that%20I%20am%20using%20to%20create%20new%20transactions.%26nbsp%3B%20All%20of%20this%20is%20working%20perfectly%2C.%26nbsp%3B%20My%20question%20is%20with%20regards%20to%20the%20blockchain%20sql%20database.%26nbsp%3B%20I%20am%20able%20to%20use%20ss%20object%20explorer%20to%20view%20and%20update%20the%20data%20in%20the%20database%20including%20the%20deletion%20of%20contract%20instances.%26nbsp%3B%20Isn't%20the%20purpose%20of%20having%20a%20blockchain%20to%20prevent%20the%20external%20manipulation%20of%20the%20data%20or%20is%20the%20data%20editable%20only%20because%20the%26nbsp%3B%20smart%20contract%20is%20deployed%20to%20the%20workbench%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-797656%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EBlockchain%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-946617%22%20slang%3D%22en-US%22%3ERe%3A%20Blockchain%20workbench%20data%20updates%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-946617%22%20slang%3D%22en-US%22%3E%3CP%3EThe%20off-chain%20database%20in%20Workbench%20is%20currently%20not%20tamper-proof.%20So%2C%20if%20someone%20who%20has%20access%20to%20your%20Azure%20subscription%20wants%20to%20go%20and%20update%20the%20database%2C%20they%20are%20able%20to%20do%20so.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3ELeveraging%20blockchain%20you%20cannot%20manipulate%20the%20data%20that%20has%20already%20been%20committed.%20Therefore%2C%20if%20you%20go%20directly%20to%20the%20blockchain%2C%20you%20won't%20see%20the%20values%20that%20were%20changed%20on%20the%20database.%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E
Occasional Visitor

I've deployed an ethereum blockchain workbench with a custom blockchain contract.  I'm able to create transactions via the workbench ui and I've also written a custom mvc app that is integated to present a custom ui that I am using to create new transactions.  All of this is working perfectly,.  My question is with regards to the blockchain sql database.  I am able to use ss object explorer to view and update the data in the database including the deletion of contract instances.  Isn't the purpose of having a blockchain to prevent the external manipulation of the data or is the data editable only because the  smart contract is deployed to the workbench?

1 Reply

The off-chain database in Workbench is currently not tamper-proof. So, if someone who has access to your Azure subscription wants to go and update the database, they are able to do so.

 

Leveraging blockchain you cannot manipulate the data that has already been committed. Therefore, if you go directly to the blockchain, you won't see the values that were changed on the database.