Bitcoin Forum

Bitcoin => Development & Technical Discussion => Topic started by: annie9771 on March 20, 2017, 12:33:16 PM



Title: Files sharing on blockchain
Post by: annie9771 on March 20, 2017, 12:33:16 PM
I have an application on network with database for files sharing , now i am thinking of to move that application on blockchain , my question is how better security will be in blockchain for users files , if private keys lost then that's mean user lost his files ? then how i can make private keys more secure. Thanks


Title: Re: Files sharing on blockchain
Post by: Jet Cash on March 20, 2017, 12:57:33 PM
Can you be more specific about the application?


Title: Re: Files sharing on blockchain
Post by: springgers on March 20, 2017, 01:50:06 PM
Thought megaupload 2.0 was going to unveil such a system.
But last I heard of that system and company they did not get enough attention when they launched it then went away from the market.
I think they are dead in the water before they even go off the ground. :-\


Title: Re: Files sharing on blockchain
Post by: vnvizow on March 21, 2017, 05:24:43 PM
I have an application on network with database for files sharing , now i am thinking of to move that application on blockchain , my question is how better security will be in blockchain for users files , if private keys lost then that's mean user lost his files ? then how i can make private keys more secure. Thanks
So a p2p system like TPB but based in blockchain? Don't think the anonymity in that case will match though, unless that's not what you're going for


Title: Re: Files sharing on blockchain
Post by: d5000 on March 21, 2017, 09:42:46 PM
There are already solutions of the kind you search, but as far as I know none has been realized with the Bitcoin blockchain, all are based on altcoins (please correct me, experts):

- Sia (based on smart contracts on a standard proof-of-work blockchain)
- Datacoin (here the data is stored in the blockchain itself)

Sia is more of a Dropbox competitor than a TPB competitor, but you can use it for file sharing too; what I don't know is how well the privacy protection is managed. Datacoin, in my opinion, is a pretty faulty concept because blockchain space is too scarce to use it for this purpose. In theory, you can use most blockchains for "small file" sharing; some (like NXT) have even GUI tools for it.

Zeronet and IPFS could also be of interest to you, they are not blockchain based but can be used together with blockchains (e.g. to store links to IPFS content on it).


Title: Re: Files sharing on blockchain
Post by: Rude Boy on March 22, 2017, 12:55:00 PM
Yes, any data can be embedded in a blockchain using transaction metadata, and then all participants in the chain will then receive a copy of this data.

Having said that, blockchains only make sense for file sharing where it makes sense for every node to receive a copy of every file, and (at least in current implementations) every node keeps every file permanently. Otherwise you'll want something based on distributed hash tables, where files are stored with just a few copies and retrieved only on demand.


Title: Re: Files sharing on blockchain
Post by: achow101 on March 22, 2017, 02:59:15 PM
I have an application on network with database for files sharing , now i am thinking of to move that application on blockchain ,
Please don't. The blockchain as it is now is quite massive, and block space is very limited for money only transactions. If you include arbitrary data into the blockchain, you will be making the size of the blockchain even bigger, but bloated with useless data for the vast majority of users. You are forcing every full node operator to maintain your data for free even though it costs them additional disk space and network bandwidth for something that doesn't matter to them or the vast majority of users. You are costing everyone who uses Bitcoin the additional block space for your data which could instead have been used to include additional transactions to help deal with the large number of unconfirmed transactions. Please do not do this as it is completely detrimental to everyone who uses Bitcoin.

my question is how better security will be in blockchain for users files ,
The blockchain does not magically provide additional security to whoever uses it for whatever they are using it for. It still entirely depends on what data you are storing and how you are storing it in the blockchain. Putting something in the blockchain means that everyone will have access to that data, do you really want your users data to be shared with everyone?

if private keys lost then that's mean user lost his files ? then how i can make private keys more secure. Thanks
Private keys are completely unrelated to this. Arbitrary data does not require private keys.


Title: Re: Files sharing on blockchain
Post by: cloverme on March 23, 2017, 12:51:34 PM
I have an application on network with database for files sharing , now i am thinking of to move that application on blockchain , my question is how better security will be in blockchain for users files , if private keys lost then that's mean user lost his files ? then how i can make private keys more secure. Thanks

Look into storj https://bitcointalk.org/index.php?topic=702602.0 it's probably more in line with your project and idea. Putting file data into the bitcoin blockchain would be a bad idea due to bloat. You could store a particular hash of a file and put it in OP_RETURN, but the fees at this point would offset the value of doing so.


Title: Re: Files sharing on blockchain
Post by: Russlenat on April 21, 2017, 03:02:51 AM
I have an application on network with database for files sharing , now i am thinking of to move that application on blockchain , my question is how better security will be in blockchain for users files , if private keys lost then that's mean user lost his files ? then how i can make private keys more secure. Thanks

I think blockchain for bitcoin purposes only!


Title: Re: Files sharing on blockchain
Post by: karmakeddon on April 26, 2017, 08:22:57 AM
I think there is a similar technology to this. If I'm not mistaken, Storjcoin X (SCJX) works like this. It is a decentralized cloud storage. I'm not entirely sure how it works but an idea like that has already hit the markets since a year ago.


Title: Re: Files sharing on blockchain
Post by: Razzoel on April 27, 2017, 12:52:19 AM
Interesting. It sounds like you can put the file data (like CRC32 hash) to check for if files are identical and haven't been modified maliciously by other parties. You still need to host the files somehow though, or through torrents?


Title: Re: Files sharing on blockchain
Post by: erpbridge on April 27, 2017, 05:03:53 PM
Wasn't Kim Dotcom, the founder of megaupload planning to implement something similar on his own file sharing website mega.nz ?

I believe he was coming up with Megaupload 2 on a similar concept.

EDIT: Found the link: https://www.ethnews.com/kim-dotcoms-megaupload-20-will-utilize-blockchain-technology


Title: Re: Files sharing on blockchain
Post by: bitoftheblock on April 28, 2017, 12:22:50 AM
I have an application on network with database for files sharing , now i am thinking of to move that application on blockchain , my question is how better security will be in blockchain for users files , if private keys lost then that's mean user lost his files ? then how i can make private keys more secure. Thanks

Look into storj https://bitcointalk.org/index.php?topic=702602.0 it's probably more in line with your project and idea. Putting file data into the bitcoin blockchain would be a bad idea due to bloat. You could store a particular hash of a file and put it in OP_RETURN, but the fees at this point would offset the value of doing so.

I wonder if OP does in fact mean what you suggest; blockchain cloud storage. Or perhaps theorizing torrent-like networking.


Interesting. It sounds like you can put the file data (like CRC32 hash) to check for if files are identical and haven't been modified maliciously by other parties. You still need to host the files somehow though, or through torrents?

Yeah this is what I'm thinking too, like how open-source games prove fairness with SHA-Hashes.


Title: Re: Files sharing on blockchain
Post by: cryptogasm on April 29, 2017, 07:15:59 PM
Why dint I see SJCX here?


Title: Re: Files sharing on blockchain
Post by: Nagadota on April 29, 2017, 07:28:49 PM
If you choose a separate blockchain to Bitcoin (it's quite easy to even create your own bullshit cryptocurrency for it) it would be a pretty good idea.

You should run nodes and mining from the company though and not make any incentives for others to participate though (earning this through ad revenue) and a blockchain could be helpful for file sharing.