-
Notifications
You must be signed in to change notification settings - Fork 119
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
UCAN-based authorized uploads with web3.storage #261
Comments
Requirement: Web3.Storage authenticates a user of an application Options (non-mutually exclusive):
Some additional requirements on making this compatible with efforts around token scoping #314 |
I think the base requirements here, which are shared with #314 are:
Until we do all 3 features we won’t hit all the users we want, so we need to make sure that we design the first one we decide to implement in such a way that it will be compatible with future methods:
|
Update:
|
Bumping this, my approach is as follows:
|
Update here - we are proceeding with implementing UCAN-based auth in NFT.Storage, which will allow NFT.Storage users to delegate uploads to others (like their users). This is being tracked here: nftstorage/nft.storage#851 We'll implement this solution in Web3.Storage as well. It's important to note that this will likely require Web3.Storage users to have their own backend to allocate and manage delegated UCANs at first, but UCANs are a pretty general solution that could allow for backendless apps to be created as well if the right service layer is living somewhere. More on UCANs here: https://fission.codes/blog/auth-without-backend/ |
UPDATE: We'll be implementing UCAN-based authorization after implementing it in NFT.Storage (issue here: nftstorage/nft.storage#851)
We want tons of end user-facing apps to build on top of web3.storage, and for it to be easy for developers to build these apps following best-practice patterns that we recommend. At the moment, the primary approach is for users to store data with web3.storage via trusted centralized servers that the app developer manages, with these servers containing and managing keys that are used to store all user data.
As we get more user feedback and understand what developers are building on top of web3.storage, we should make it possible for alternative, more decentralized access patterns with web3.storage. Some potential examples include:
The text was updated successfully, but these errors were encountered: