Security Practices
This page describes how the Services are protected. It is referenced by the DPA as the technical and organizational measures we commit to.
A note on how to read it. Toothprint is built by one person today. A security page written for a fifty-person company — on-call rotations, background checks, quarterly tabletop exercises — would be easy to write and false. What follows is what runs. Where a measure is not in place, it says so, and that is more useful to you than a list you cannot verify.
1. Responsibilities
We are responsible for the platform: the application code, the backend configuration, the security rules, the subprocessors, the build and release path.
You are responsible for your devices, your network, your credentials, who you let into your practice, and the lawful basis for what you upload. See the Acceptable Use Policy and the DPA.
2. System Architecture
- Backend. Firebase and Google Cloud: Authentication, Firestore, Cloud Storage, Cloud Functions, Hosting. No servers of our own, which keeps the attack surface small.
- iPhone and iPad app. Native Swift, distributed through the App Store and TestFlight. It links Firebase Auth, Firestore and Storage, Google Sign-In and a geometry library. It links no analytics library and no advertising SDK, and analytics is disabled in the Firebase configuration file. That is a fact you can check in the build, not a promise.
- Web hub. A static build served from Firebase Hosting, talking to Firebase through the official SDKs.
- CBCT segmentation. Runs on a GPU compute provider in the United States; until October 29, 2026 the heavy reconstruction of sessions also ran there. See Subprocessors.
3. Access Control and Authentication
- Firebase Authentication, with email and password or Sign in with Apple / Google.
- Tokens only. No password ever reaches our storage in readable form.
- Access is decided by Firestore and Storage security rules, evaluated on the server on every read and every write. A client that asks for something outside its practice is refused by the database, not by the app.
- Multi-factor authentication will be mandatory for professional accounts starting on the date we will announce on this page at least 30 days in advance. Until that date it is available on the underlying identity provider but not required; its status is listed in Section 12.
4. Isolation Between Practices
Every patient, appointment and session carries the identifier of the practice that owns it. Rules compare that identifier against the practice of the account asking. There is no pooling of data between practices anywhere in the application layer.
The session collection inherited from the first version, which does not carry the practice identifier, is closed a different way: only the account that created each session can read it.
This was verified end to end on September 11, 2026 with real accounts: a member of one practice reading their own patient succeeded; the same read from an account in a different practice was refused with a 403.
5. Encryption
- In transit. TLS 1.2 or higher on every client-server path, except the STUN query of "Live" (below). HSTS on the web surfaces. The Hub's "Live" joins the iPhone and the browser of the same account through a direct channel between the two, encrypted with DTLS, that does not go through our servers. To set it up, each device asks a Google STUN server for its public address; that query is unencrypted, as that protocol defines it, and carries only the device's network address.
- At rest. Google Cloud encrypts with AES-256 under keys it manages. There is no customer-managed key option today.
- Secrets. Production credentials live in a managed secret store, never in the repository.
6. Download Links as Credentials
Files in Cloud Storage are reachable by a download link that carries a token. That token is a credential: anyone holding the link can fetch the file, and the storage rules do not apply to it. This is how Firebase is designed, and it is worth you knowing it, because it changes what "a link to a scan" means: forwarding one is handing over the file, not a reference to it.
What we do about it:
- A download link is never shared outside the practice that owns the case.
- Any rule that exposes a collection holding one is re-read and re-tested whenever the rules change, with the access tests described in Section 4.
- Tokens can be rotated, and rotating them invalidates every link issued before. We treat that as a normal operation, not an emergency measure.
- The structural fix — storing paths instead of links and signing a short-lived URL at the moment of serving it — is on the list in Section 12.
7. Backups and History
This section used to say that point-in-time recovery was enabled and that backups expire within 12 months. Neither statement was verified, and a security page is exactly the wrong place to write something you have not checked. What is actually true:
- We do not operate a backup configuration of our own. There is no point-in-time recovery setting, no scheduled export, and no backup bucket in the project. Google Cloud keeps its own infrastructure-level redundancy, which is not the same thing as a backup you can restore from on request, and we are not going to describe it as one. Enabling recovery is on the list in Section 12.
- What this means for you in practice: if a record is deleted, it is gone. There is no "restore from yesterday" today.
- The BigQuery copy described in Subprocessors keeps a version history. Account deletion runs against every one of its tables, and may take up to 24 hours to complete.
8. Logging
What the platform logs by default, and what it does not, because the difference matters:
- Administrative activity — changing a security rule, deploying a function, altering a configuration — is logged by Google Cloud automatically and retained for 400 days. That is the default and we have not shortened it.
- Data access — who read which patient record — has been logged since September 12, 2026. Google Cloud's Data Access audit logs are off by default; we turned them on for the database and for storage, with 90 days of retention. Before that date we could tell you who changed the system, not who read a record; since that date, both.
- Security-rule denials are visible in the Firestore usage metrics as counts, not as an itemized list of who was refused what.
We do not routinely read Customer Data. Where an investigation requires it, the access is deliberate, and since September 12 it is logged.
9. Development and Release
- Dependencies are pinned by the Swift package resolver and reviewed when they move.
- Releases are signed: the app by Apple's distribution certificate, the sites by Firebase Hosting.
- Security rules are deployed from the repository, and the deployed ruleset is read back and compared before anything else is changed. We do this because we once believed the rules in the repository were what production was running, and they were not.
10. Vulnerability Reporting
Write to hola@toothprint.ai with "security" in the subject. We answer within one business day,
and since September 14, 2026 that deadline has a queue behind it that counts: when it arrived, when
it falls due counting Colombian business days —public holidays included— and whether it was closed
in time. Before that it was a sentence and one person, which works until the day three arrive or
one lands on a Friday.
If you want to encrypt, say so in the first message and we will send a key. We will not threaten
anyone who reports a vulnerability in good faith.
11. Incident Management
We notify you of a personal data breach without undue delay and, in any event, within 72 hours of becoming aware, under Section 8 of the DPA, and we tell you what we know at the time rather than waiting for a complete picture. Both halves of that sentence matter and only the second one used to be here: 72 hours is the ceiling, not the schedule. You have your own clock toward the authority — 72 hours under the GDPR (Art. 33); in Colombia, 15 business days before the Superintendencia de Industria y Comercio — and it starts when we notify you; if we used the full 72 hours, we would leave you with no margin. There is one person on this rota today and that person is reachable by email.
12. Controls Being Implemented
We would rather list these than let their absence be inferred:
| Not in place | Status |
|---|---|
| Mandatory multi-factor authentication for professional accounts | Mandatory from the date we will announce here at least 30 days in advance; until then, available and not required |
| Point-in-time recovery and a restorable backup | Not configured |
| Independent penetration test | Not done |
| SOC 2 / ISO 27001 | Not started; neither is realistic before the entity exists |
| Customer-managed encryption keys | Not available |
| De-identification of scans before they leave the practice | Designed, not implemented. Today scans are uploaded as captured |
| A Business Associate Agreement covering the full chain | Not held, which is why HIPAA Covered Entities are not accepted. The limit is stated inside the app: whoever picks the United States as their jurisdiction reads it there and must accept it to continue, and the text they accepted is kept in their record |
| Download links stored inside the documents | Designed, not implemented. The structural fix is to store the path and sign a short-lived link when serving it; the path is already stored |
| 24/7 on-call | No |
Updated November 16, 2026 · Version 1.11
Version 1.1, amended September 12, 2026. Four points in version 1.0, published on September 11, were corrected after checking it against the running system: it now discloses that the avatar feature sends the patient's photograph to a Google generative model; it no longer mentions point-in-time recovery or 12-month backups, which are not configured; it gives a separate deletion timeline for each of the three destinations; and it specifies how the three-year destruction period is controlled.
Version 1.2, amended September 12, 2026. The analytics export to BigQuery stopped carrying the raw sessions collection, which contains patient identifiers and download links, and now carries a derived collection with no identifiable data. The history already exported is kept separately, pseudonymized. This document was updated to describe the current export.
Version 1.3, amended September 13, 2026. The incident notice was aligned with Section 8 of the Agreement: "without undue delay and, in any case, within 72 hours". Before, it only said "within 72 hours".
Version 1.4, amended September 14, 2026. The app told anyone who chose the United States that their patients were under HIPAA and state laws, which contradicted this page. The app now says state laws, which is what applies to anyone who is not a covered entity, and shows the HIPAA limit on screen, where it must be accepted to continue.
Version 1.5, amended September 14, 2026. The response deadline for a security report is tracked by a queue that counts Colombian business days and holidays.
Version 1.6, amended September 14, 2026. Section 6 pointed to the list in Section 12 for the structural fix to download links, and that list did not have it. Now it does. And Section 4 described isolation by practice without saying that the oldest session collection is closed a different way, by the account that created each session.
Editorial revision, September 22, 2026. The English text now uses American spelling and dates. No right, obligation, deadline or figure changed, so the version number and the dates stay the same.
Version 1.7, amended September 22, 2026. The record of changes was rewritten in a descriptive tone, without changing the facts it records.
Version 1.8, amended September 29, 2026. Sections 3 and 12 state that multi-factor authentication becomes mandatory for professional accounts starting on a date that will be published on this page; before, it was listed as planned. Section headings were rewritten in formal legal language and each section has a fixed anchor (for example, /security#s3); the numbering does not change.
Version 1.9, amended September 29, 2026. Sections 3 and 12 state that the date for mandatory multi-factor authentication will be announced on this page at least 30 days in advance. Section 11 distinguishes the GDPR's 72 hours from the 15 business days before the Superintendencia.
Version 1.10, amended October 29, 2026. The architecture states that CBCT segmentation runs on the GPU compute provider, and that the heavy reconstruction of sessions ran there until October 29, 2026.
Version 1.11, amended November 16, 2026. Section 5 said TLS on every client-server path, with no exception. It now says that "Live" joins the iPhone and the browser through a direct channel encrypted with DTLS, and that the query to Google's STUN server that sets it up is unencrypted and carries only the device's network address. "Live" has been in use since before this version.