Security
This page is a draft. It describes what the site does today, and it has not yet been checked by someone qualified in privacy law. It will be checked before Delivery Doctor opens to the public.
This page is for someone checking Delivery Doctor before using it with a team: where data is held, which companies handle it, and how it is protected. The privacy page says what is collected and kept.
To report a security problem, write to hello@delivery.doctor.
Where data is held
The database is hosted by Supabase in Frankfurt, Germany. Email is sent through Resend’s servers in Ireland. The site itself is served from Cloudflare’s network.
Companies that handle data for us
| Company | Role | Data it handles | Where |
|---|---|---|---|
| Cloudflare | Site hosting, page-view counts, the Turnstile check on forms, forwarding of replies to hello@delivery.doctor | Network addresses of visitors; which pages are viewed; replies in transit | Worldwide network |
| Supabase | Database, and the code that scores answers and sends emails | Email addresses of people who ask for a report, their top three findings and their email choices | Frankfurt, Germany |
| Resend | Email delivery | Recipient addresses and the content of emails we send | Ireland |
| Inbox behind hello@delivery.doctor | Replies people send to our emails | Worldwide |
Payments are not open yet. When they are, Polar will handle checkout and card details, and this table will list it. Card details will never reach our systems.
How the service is built to protect data
- Little is collected. The solo diagnosis and the maturity matrix run in the visitor’s browser. Answers reach our servers only when someone asks for the report by email, and are discarded once the report is built.
- Encrypted in transit. The site is served only over HTTPS, and browsers are told to refuse plain HTTP.
- The database is closed by default. The tables that hold email addresses are in a part of the database that the public interface cannot reach. The site’s code can use them only through a small set of database functions, and only the server-side code holds the key that may call those functions. This was checked on the running database: neither an anonymous visitor nor a signed-in user can call them or read the tables.
- Links in emails. The links that confirm a choice or stop emails carry a random single-use code. Only a one-way hash of each code is stored, so the database alone cannot be used to forge a link. The code sits in the part of the address that browsers do not send to servers, and acting on it needs a button press, so a mail scanner that opens the link changes nothing.
- Forms. Every form that sends data to us checks that the request comes from a person, and is limited to a number of requests per network per day and one report per address per day.
- Two scripts from another company, both Cloudflare’s. A page-view counter that sets no cookie, and the Turnstile check, which loads only when someone starts to use the email form. Nothing else from outside the site is loaded, and neither script receives answers, reports or email addresses.
- A content security policy. Browsers are told that the pages may run scripts only from this site and from the Turnstile check, may connect only to this site, our database host and the page-view counter, and may not be framed by other sites. A script injected into a page does not run.
- Logs. Our code does not write answers or link codes to its logs.
What is not in place yet
Delivery Doctor is not yet open to the public, and some protections are planned for the launch rather than present today:
- Backups and a tested restore. The current database is a staging system without usable backups. The production database will have daily backups, and a restore will be rehearsed before launch.
- Automatic deletion on the schedule the privacy page gives. Until it is built, deletion on request and through the link in each email works; deletion by age does not yet run.
- An independent security review. None has been done.
Team diagnosis
The team diagnosis is not open yet. Its anonymity design, and the limits of what it promises, are set out on the privacy page.