Not every conversation is everyone's business.
Shared memory across people and AI tools is only trustworthy with strict boundaries by default. That is the one thing SecondBrainDB treats as non-negotiable, in every edition.
Who can see a memory
| Visibility | Who can see it | Typical use |
|---|---|---|
| Private | Only the author, plus anyone they explicitly share it with. | A personal note or a draft not ready to share. |
| Workspace | Everyone whose home is the same workspace. | "Everyone on this project should know this." |
| Whole organization | Everyone in the company. | Policies, shared facts, company decisions. |
| Shared one-to-one | One specific colleague or assistant. | Showing one memory to one person without widening it. |
Fail closed, not open
If a memory's visibility is ever missing or unrecognized, access is denied. An agent with no home workspace does not get workspace memories either; it needs an explicit share.
From the outside, a boundary looks the same whether something does not exist or simply is not yours: both answer "not found". Nobody can probe for what is there.
Why this matters more for AI
A normal app has one carefully reviewed code path deciding who sees what. An assistant can be asked for "everything relevant". Without a per-memory permission model, that silently becomes everything. The rule has to live in the data, not in a prompt.
How it is built
assistant or teammate │ API key (one organization, one identity) ▼ HTTP API ── identity resolved on the server, │ never taken from the request body ▼ relational database (system of record) organizations → workspaces → agents → memories (visibility + shares) → audit log optional search index: rebuildable, never the only copy of your data
- Organization isolation on every read and write.
- Keys are stored hashed, never in plain text.
- Append-only, hash-chained audit trail.
- Tested with automated cases for every visibility rule, against a real database.
What we do not claim yet
These are required before any real customer data is stored in a hosted service, and are not done yet:
- Encryption at rest in a hosted deployment.
- Data-processing terms reviewed by counsel.
- Self-service key rotation and revocation.
- Rate limiting on a public API.
SecondBrainDB holds no compliance certification (SOC 2, ISO 27001, HIPAA or other). We will say so plainly until that changes.