Here's what happens now.
Stripe should have emailed you a receipt.
- 1
Book a 30-minute call, and bring your developer
Someone who can run commands on your Supabase project needs to be on the call. You can review the sample below to prepare for questions I'll ask.
Book the callI'll never ask for passwords, keys or logins. Please don't send any, even if it seems easier.
- 2
On the call
Who should see and do what
You walk me through who uses your app, and what each of them should and shouldn't be able to see or change.
See a sample breakdown
Who uses the app: - Clients, who join coaches' classes - Coaches, who run classes. Some work for a studio - Studio owners, who manage a group of coaches - Admins (us) Who should access what: - Clients: their own profile, check-ins and messages. Nothing about other clients. - Coaches: the clients in their own classes, including progress photos. Not other coaches' clients, even at the same studio. - Studio owners: their coaches' schedules and client counts. Not client photos or messages. - Admins: everything. Files: - Progress photos: the client and their coach only. - Class PDFs: anyone enrolled in that class. Not sure about: - Should studio owners see client check-ins?
Export your schema
Your developer runs these in a terminal, in your project folder. It exports the structure of your database, not the data.
supabase link supabase db dump --linked -f schema.sql supabase db dump --linked -s storage,auth >> schema.sql
A few questions about your settings
Whether anyone can sign up, whether anonymous sign-ins are on, and where your secret key is used. Then your developer runs this in the Supabase SQL editor and pastes the result in the call chat.
select json_build_object( 'postgres', version(), 'buckets', (select json_agg(b) from (select id, public, file_size_limit, allowed_mime_types from storage.buckets) b), 'realtime', (select json_agg(schemaname || '.' || tablename) from pg_publication_tables where pubname = 'supabase_realtime') );
After the call: check the file, then share it
Please don't share the file during the call. Within 72 hours, your developer reviews it for secrets, then shares schema.sql from your company Google Drive or Dropbox with my email address only, not "anyone with the link."
Before sharing, look through the file for secrets and redact any you find. Good terms to start with: Bearer, eyJ, sb_secret_, sk_, sk-, apikey, secret and token.
- 3
You get a report
A short written report within 3 business days of receiving your schema.
It includes:
- A summary of the risks your app currently face.
- Every problem I find, ranked from most to least severe: what's exposed, and who could see or make edits to data they shouldn't.
- A suggested fix for each that you or your devs can apply.
When your report is done, I delete everything that was shared with me.
← Back to the home page