Introduction to Decentralized Access Control
Ready to jump right in? Quickly learn how you can integrate decentralized access control into your own product:
- Guide: Working with Decentralized Access Control
- Guide: Encrypting and Decrypting Content with Lit
- Tool: Custom Access Controls Creator
- Example: Basic EVM Conditions
Lit Protocol provides developers with a decentralized access control layer that can be used to encrypt content for private and permissioned storage on the open Web. The Lit SDK provides utilities that can be used for encrypting and decrypting content client-side, while access control conditions (ACCs) are used to define who can decrypt and access the locked data.
Lit supports the use of both on and off-chain data when defining access control conditions. Examples include gating against:
- Membership within a particular DAO
- Ownership of a particular ERC-721 or ERC-20 token
- The result of any smart contract call
- The result of any API call, such as a follow on Twitter
- Access Control Conditions are compatible with most EVM chains, Cosmos, and Solana. View the full list here.
- AND + OR operators (boolean logic) can be used to combine any of the supported conditions listed above.
- ACCs may be permanent or updateable.
- Storage provider agnostic: use your preferred storage solution, including IPFS, Arweave, Ceramic, or even a centralized provider, like AWS.
Examples and Use Cases
- Private data for web3 social
- Token-gated video streaming
- Encrypted token metadata
- Persistent and private data marketplaces
- Token-gating access to apps, such as Streamlit