Overview of Safebucket architecture and core concepts
Safebucket is an open-source file-sharing platform designed so that files never touch the application server. Instead, clients upload and download directly to/from S3-compatible storage using presigned URLs. The system focuses on managing metadata, access control, and audit logging while allowing users to provide their own identity provider and infrastructure.
Key architectural features include:
- SSO-first: User authentication is handled via OIDC providers.
- Bucket-scoped access: Permissions are managed via buckets with roles: owner, contributor, and viewer.
- Swappable Infrastructure: Components for storage, databases, events, caching, and notifications can be replaced based on preference (e.g., AWS S3 vs. MinIO, NATS vs. SQS).