Bitcoin Forum
October 22, 2018, 12:45:48 AM *
News: Make sure you are not using versions of Bitcoin Core other than 0.17.0 [Torrent], 0.16.3, 0.15.2, or 0.14.3. More info.
 
   Home   Help Search Donate Login Register  
Pages: [1]
  Print  
Author Topic: Blockchain based online portal  (Read 178 times)
harshalone
Newbie
*
Offline Offline

Activity: 15
Merit: 0


View Profile WWW
September 10, 2018, 01:32:47 PM
 #1

Hi it might sound silly but I dont really understand how blockchain technology could be implemented. Hence I am posting this question here.

What I am trying to do is; create an online portal where people will register and save their information.

But instead of saving users information in a usual database what I want to do is; I want to store them in blockchain.

For example:

I register on a website and then I create a book and start writing the first page.

once the first page is finished click on save button.

Now, this information should create a block and could be only opened by its author.

So everytime i add another page it should create a block and add to the blockchain.

my query is where will this blockchain saved? in database? or its a raw file which user could download on their own computer?



Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1540169148
Hero Member
*
Offline Offline

Posts: 1540169148

View Profile Personal Message (Offline)

Ignore
1540169148
Reply with quote  #2

1540169148
Report to moderator
ETFbitcoin
Legendary
*
Offline Offline

Activity: 1470
Merit: 1200


Use SegWit and enjoy lower fees


View Profile WWW
September 10, 2018, 02:16:38 PM
Merited by suchmoon (4)
 #2

You don't need blockchain in this case, another P2P method such as BitTorrent or IPFS protocol with encryption should work just fine. Besides, blockchain is inefficient for such things mainly due to potential spam and scaling problem (unless you don't care people should run full nodes at low cost).

Alternatively you could use Steemit and Filecoin which already exist rather than make another one or see this thread (https://bitcointalk.org/index.php?topic=4554177.0) why blockchain is inefficient for such things

███           ▄▄▄                          ███
███           ███    ▄█                    ███
███ ▄▄▄▄▄▄          ▄██▄▄▄▄      ▄▄▄▄▄     ███        ▄██▄    ▄▄▄         ▄▄▄
███████████▄  ███ ▐████████  ██▄███████▄   ███       ██████    ███       ███▀
███▀    ▀███▌ ███   ███      ███▀    ▀███  ███      ████████    ███     ███▀
███      ▐██▌ ███   ███      ███      ███  ███     ██▀    ▀██    ███   ███▀
███      ▐██▌ ███   ███      ███      ███  ███    ███      ███    ███ ███▀
███▄    ▄███▌ ███   ███▄     ███▄    ▄███  ███   ████▄    ▄████    █████▀
███████████▀  ███   ▀██████  ███████████▀  ███  ████████████████    ███▀
▀▀▀ ▀▀▀▀▀▀    ▀▀▀     ▀▀▀▀▀  ███ ▀▀▀▀▀▀    ▀▀▀   ▀▀▀▀▀▀▀▀▀▀▀▀▀▀    ███▀
                             ███       ▄▄▄ ▄   ▄  ▄ ▄▄▄          ▄███▀
                             ███      █    █   █  █ █▄▄▀      █████▀
                             ▀▀▀      ▀▄▄▄ █▄▄ ▀▄▄▀ █▄▄█      ▀▀▀















❱❱
❰❰

TheArchaeologist
Member
**
Offline Offline

Activity: 84
Merit: 73

Learn from the Past!


View Profile WWW
September 10, 2018, 02:21:05 PM
 #3

But instead of saving users information in a usual database what I want to do is; I want to store them in blockchain.
Can you explain why you want to store them in a blockchain? Because I would expect you first wite down your requirements and then try to find a technical solution which best fits those requirements. It looks like you did it the other way around: Starting with a technical solution (blockchain) which then should accomplish whatever requirement you came up with.

I register on a website and then I create a book and start writing the first page.
once the first page is finished click on save button.
Now, this information should create a block and could be only opened by its author.
The very idea of a blockchain is that all information stored in there is publicly available. So once again: why do you think blockchain is the best option for your idea?

So everytime i add another page it should create a block and add to the blockchain.
What will happen if I decide to change some text on my first page already saved? How is a page (which is a single block in your solution) linked to another page in your solution? So will it be linked to a random page from another user or only to my own pages?

my query is where will this blockchain saved? in database? or its a raw file which user could download on their own computer?
Well the entire idea of a (public) blockchain is that all the information will be stored on every node (every computer which is part of the network). What would be the incentive in your solution for people to keep a copy of all these pages they can't even read themselves?


I personally would expect for your idea to just have a regular server-based solution with a database to store the pages. Users can then lookup previous saved pages of themselves and if needed alter them. All of this based on authentication (user credentials given in the webpage).

To make a long story short: Blockchain is a great solution for some problems, but relational databases are way better solutions for others!
odolvlobo
Legendary
*
Offline Offline

Activity: 2282
Merit: 1159



View Profile
September 10, 2018, 02:29:36 PM
 #4

A block chain is not appropriate.

Buy bitcoins with cash from somebody near you: LocalBitcoins
Buy stuff on Amazon at a discount with bitcoins: Purse.io
Join an anti-signature campaign: DannyHamilton's ignore list
bob123
Hero Member
*****
Offline Offline

Activity: 714
Merit: 611



View Profile WWW
September 14, 2018, 10:54:11 AM
 #5

You should not simply try to build a business model around the word blockchain.

If you need to think on HOW to implement it using a blockchain, it probably is NOT suited to be used with a blockchain.

You always have to balance the pros and cons of a blockchain opposed to a centralized database. In your specific example, i don't see any advantage with using a blockchain.
You are just sacrificing a lot of speed / performance while not gaining any real advantage.

Is there a specific reason you want to use a blockchain? Or just because its trendy at the moment ?

cellard
Legendary
*
Offline Offline

Activity: 1162
Merit: 1152


View Profile
September 14, 2018, 07:59:56 PM
 #6

You don't need blockchain in this case, another P2P method such as BitTorrent or IPFS protocol with encryption should work just fine. Besides, blockchain is inefficient for such things mainly due to potential spam and scaling problem (unless you don't care people should run full nodes at low cost).

Alternatively you could use Steemit and Filecoin which already exist rather than make another one or see this thread (https://bitcointalk.org/index.php?topic=4554177.0) why blockchain is inefficient for such things

We have seen previous attempts older than any of these, the infamous freenet which worked in a decentralized way by encrypting the content of the webpages and putting them into the network participant's hard drives. Of course this meant that by using freenet you were hosting illegal content in your hard drive, that even in encrypted, made me too paranoid to use it so I never gave it a proper try. You would need to trust the encryption and I dont. And then you would also be ready to browse super slow and primitive looking webpages, not worth my time.

Thirdspace
Hero Member
*****
Offline Offline

Activity: 770
Merit: 603


Mixing reinvented for your privacy | chipmixer.com


View Profile
September 14, 2018, 10:57:51 PM
 #7

I register on a website and then I create a book and start writing the first page.

Now, this information should create a block and could be only opened by its author.

So everytime i add another page it should create a block and add to the blockchain.
blockchain essentially is a shared database maintained by all nodes in the same network
if the information stored in this database only openable by its author then it's not really shared
and adding each page and every edit to the blockchain will consume a lot of data storage

Hi it might sound silly but I dont really understand how blockchain technology could be implemented.
as conclusion, blockchain technology is not suitable for your idea of this kind of book writing

nc50lc
Full Member
***
Offline Offline

Activity: 378
Merit: 146


∙Self-proclaimed-Genius ㊙️


View Profile WWW
September 15, 2018, 05:47:16 AM
 #8

-snip-
So, you want to utilize blockchain technology to your online portal as a database... forget it.

But you can develop an API which utilizes "signed message" as an ownership system which the user can only unlock his written article using his private keys. However, the data weren't stored in a fault-tolerant/uneditable way but users can use it without even registering an account, they can use the addresses as a donation/pay-to-open (needs more sophisticated techniques) address and the ownership issues can be easily solved (unless your site can't be trusted).

It's up to you or your developer on how you can implement such system, but theoretically, it's possible.

For example:
  • 1) You online portal acts as a wallet and users can request an/some address/private key pair as his personal keys.
  • 2) Everytime he 'save' his article the site will sign it using the user's session-entered (like MAW) private key, it will be saved as a text file in a signed message format and the signature shall be displayed for the user to copy (if he didn't have an account).
  • 3) With this, a user can also import the private key to any wallet that can import keys then use the client to sign the article and paste the signature if it is 100% match to the saved article's signature.

But as they said, if you're planning to use blocks and POW as the database, it will going to be more stubbornly-unnecessary than my idea above.  Grin
Nobody asked you why? Planning to start an ICO that advertises blockchain tech to online portals?

(っ◕‿◕)っ Newbies and Newbies at heart! Remember to Lock your Thread(s) after receiving enough replies/sufficient answers. 
FEELING GENEROUS?: 39EKeFj43inkH6Ctkosh9E7oskx3tvhSXi ∙ Do not buy non-mainstream ASICs at second-batch and onwards, you know the risk!
Pages: [1]
  Print  
 
Jump to:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!