Dweb - web publishing, RESTful web apps, versioned data and

well … we always claim there is no compute … and there really isn’t … but there is something else that is beyond simple file delivery/access … it’s

  1. access to certain files/information (knowing which chunks to get and how to combine them/having the private key to decrypt its content) and
  2. write-access (who is allowed to write what)

if you e.g. write an online shop for the current internet the usual customer doesn’t automatically come with its identity and you cannot trust him and let him just put his order in your database to process it later … many reasons; I’m sure you immediately have a lot of them on your mind …

on autonomi the visitor of a site does come with a wallet and can create valid signatures&data (true for native token too … without ANT no more than the classic read works) → when he comes again later he can verify his identity (that’s why you now create a user account in your shop … to get the reference to your customer) and since you know his public key you can encrypt information for him and store it even publicly that only he can read with his private key.
The user then shares with you his delivery address and you get read access to “his database” where he stores his address (encrypted with your public key; so even if anybody would know where the order is stored that 3rd party couldn’t read the content) … so other customers don’t have access to it … in your current web application you need to forbid all customers access to delivery addresses except for the orders they triggered themselves; and since it’s your database you need to change his delivery address for him (and make sure it’s really him) because it’s your one large database … so all the server side logic needed for this on the classic internet get’s replaced by simple access control/knowledge/kryptography on autonomi. Every piece of information someone needs to be able to change (delivery address, list of friends, age) needs to be modified and be in control of the person who has the authority and knowledge to change it; for all the others it’s read-only data (just as it should be) …

… shop …
owner publishes what he has to offer + prices
customer writes his order
shop owner approves the order
customer executes payment
shop owner delivers product
…there’s really no true need for server side logic (some opaque authority that can do/allow stuff) for many tasks if everyone involved has the ability to prove their identity and can create data the others can read …

7 Likes