Design decisions
The choices behind Sypnia Files, and why each one was made.
| # | Decision | What Sypnia Files does, and why |
|---|---|---|
| 1 | The content domain | Files are served on <ref>.files.sypnia.app. sypnia.app is in the Public Suffix List, so a file can never set cookies for another project, and user files are never served under sypnia.com, where Sypnia’s sessions live. |
| 2 | Malware scanning | Off by default, with a console warning on buckets that accept public uploads; turn it on per bucket (Bucket settings). |
| 3 | Video | Stored and served as files, without transcoding to adaptive streams: Files is not a streaming service. |
| 4 | Largest file | 50 GB on paid plans, 50 MB on the free plan. |
| 5 | Keys shared with Data | One pair of publishable and secret keys per project for every Sypnia product, with scopes per product on each key, so one key never opens more than it should. |
| 6 | Licenses | AGPL-3.0 for the engine (a hosted copy must share its changes) and MIT for @sypnia/files, like every Sypnia engine and SDK. |