Bitcoin Forum
March 29, 2024, 05:18:53 AM *
News: Latest Bitcoin Core release: 26.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Blockchain based online portal  (Read 288 times)
harshalone (OP)
Newbie
*
Offline Offline

Activity: 25
Merit: 1


View Profile
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?



1711689533
Hero Member
*
Offline Offline

Posts: 1711689533

View Profile Personal Message (Offline)

Ignore
1711689533
Reply with quote  #2

1711689533
Report to moderator
Be very wary of relying on JavaScript for security on crypto sites. The site can change the JavaScript at any time unless you take unusual precautions, and browsers are not generally known for their airtight security.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1711689533
Hero Member
*
Offline Offline

Posts: 1711689533

View Profile Personal Message (Offline)

Ignore
1711689533
Reply with quote  #2

1711689533
Report to moderator
1711689533
Hero Member
*
Offline Offline

Posts: 1711689533

View Profile Personal Message (Offline)

Ignore
1711689533
Reply with quote  #2

1711689533
Report to moderator
ABCbits
Legendary
*
Offline Offline

Activity: 2828
Merit: 7327



View Profile
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

.
.BLACKJACK ♠ FUN.
█████████
██████████████
████████████
█████████████████
████████████████▄▄
░█████████████▀░▀▀
██████████████████
░██████████████
████████████████
░██████████████
████████████
███████████████░██
██████████
CRYPTO CASINO &
SPORTS BETTING
▄▄███████▄▄
▄███████████████▄
███████████████████
█████████████████████
███████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
███████████████████████
█████████████████████
███████████████████
▀███████████████▀
█████████
.
TheArchaeologist
Sr. Member
****
Offline Offline

Activity: 306
Merit: 727


---------> 1231006505


View Profile WWW
September 10, 2018, 02:21:05 PM
Last edit: September 10, 2018, 02:31:35 PM by TheArchaeologist
 #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!

Sooner or later you're going to realize, just as I did, that there's a difference between knowing the path and walking the path
odolvlobo
Legendary
*
Offline Offline

Activity: 4270
Merit: 3159



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

A block chain is not appropriate.

Join an anti-signature campaign: Click ignore on the members of signature campaigns.
PGP Fingerprint: 6B6BC26599EC24EF7E29A405EAF050539D0B2925 Signing address: 13GAVJo8YaAuenj6keiEykwxWUZ7jMoSLt
bob123
Legendary
*
Offline Offline

Activity: 1624
Merit: 2481



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: 1372
Merit: 1250


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: 1232
Merit: 738


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
Legendary
*
Offline Offline

Activity: 2366
Merit: 5429


Self-proclaimed Genius


View Profile
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?

..JAMBLER.io..Create Your Bitcoin Mixing
Business Now for   F R E E 
▄█████████████████████████████
█████████████████████████
████▀████████████████████
███▀█████▄█▀███▀▀▀██████
██▀█████▄█▄██████████████
██▄▄████▀▄▄▄▀▀▀▀▀▄▄██████
█████▄▄▄██████████▀▄████
█████▀▄█▄██████▀█▄█████
███████▀▄█▀█▄██▀█▄███████
█████████▄█▀▄█▀▄█████████
█████████████████████████
█████████████████████████
▀█████████████████████████████
█████████████████████████████████████████████████
.
      OUR      
PARTNERS

.
█████████████████████████████████████████████████
████▄
██
██
██
██
██
██
██
██
██
██
██
████▀
▄█████████████████████████████
████████▀▀█████▀▀████████
█████▀█████████████▀█████
████████████████████████
███████████████▄█████████
█████████████████████████
█████████████████████████
█████████████████████████
███████████████▀█████████
████████████████████████
█████▄█████████████▄█████
████████▄▄█████▄▄████████
▀█████████████████████████████
█████████████████████████████████████████████████
.
   INVEST   
BITCOIN

.
█████████████████████████████████████████████████
████▄
██
██
██
██
██
██
██
██
██
██
██
████▀
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!