Storage Layer
IPFS Integration
Content Addressing: Files identified by cryptographic hash
Deduplication: Identical files stored once
Distributed: No single point of failure
Immutable: Content cannot be changed without changing hash
Cloud Backup Strategy
Redundancy: S3 backup ensures availability
Performance: CDN integration for fast downloads
Cost Optimization: Intelligent tiering (hot/cold storage)
Encryption: Additional server-side encryption layer
Metadata Storage
Database: PostgreSQL (via Supabase)
Indexed Fields: Owner, file hash, IPFS CID, timestamps
Access Control: Row-level security policies
Audit Logs: Immutable access records
Last updated