Privacy basics for builders: collect less, protect more
Know what personal data your app collects, keep only what you need, lock it down, delete what you don't need, and plan for mistakes.
Every sign-up form is a responsibility
The moment your app collects a name, an email or a phone number, you're looking after other people's information. The US Federal Trade Commission's guide for businesses boils it down to five habits: take stock, scale down, lock it, pitch it and plan ahead. They work just as well for a weekend project as for a company.
Take stock and scale down
- List every piece of personal data your app collects, where it's stored (database, sheet, email tool, analytics) and who can see it.
- Ask of every field: do we need this to do the job? If not, don't collect it. A birthday, address or phone number 'just in case' is risk with no benefit.
- Keep it only as long as you need it, and write that down.
- Don't paste real users' data into AI tools to test or debug; use fake data instead.
Lock it
Turn on row level security so people can only read their own rows, keep keys in environment variables, give teammates the least access they need, and turn on multifactor sign-in for your database, hosting and email accounts. Only admins should see full lists, and exports should go somewhere safe, not a shared folder anyone can open.
Pitch it, plan ahead, and say what you do
Delete old data and test accounts you no longer need, and let users ask for their data to be deleted. Write a short plan for what you'll do if data leaks: who you tell, how you lock things down, and how you'll fix the cause. Publish a plain-language privacy policy that matches what your app really does. Privacy laws differ by place and by who your users are (children, for example), so check what applies to you; this guide isn't legal advice.
Key terms
- Personal data
- Information about an identifiable person, like names, emails or grades; follows privacy rules.
- Privacy policy
- A page telling people what data you collect, why, and what you do with it.
- Row level security (RLS)
- Database rules that decide which rows each user may read or change.
- Least privilege
- Give each person, app or AI only the access its job needs.
- Environment variable
- A setting or secret the app reads at run time, kept outside the code.
- Two-factor authentication (2FA)
- A second check at sign-in, like a code from an app, on top of your password.
- Policy (RLS)
- One row level security rule, like 'users can read their own notes'.
Try it
A privacy check for your app
- List every field your app collects and mark each one 'need' or 'nice to have'.
- Remove one 'nice to have' field.
- Sign out and check that one user can't see another user's data.
- Write a three-line plan for a data leak and a one-paragraph privacy policy draft, then ask an AI what you've missed.
Ask an AI tutor about this guide
Copy a prompt into ChatGPT, Claude or Gemini to go deeper. Check what it tells you against the guide.
- Explain it like I'm 12
- Quiz me (5 questions, one at a time)
- Show me a real example for my situation
- What do beginners get wrong?
Knowledge check
Five questions. Get 4 right to earn the Privacy Keeper badge. You can retake it as often as you like.
Question 1 of 5
Finished the Build safely guides? Take the Build safely track test for ten mixed questions.
My notes
Write what clicked, what confused you, and what you want to try. Saved in this browser only.
Learn it live
Digital Builders University runs small live workshops where you build something real with an instructor beside you, starting with Vibe Coding 101.
See workshopsOfficial sites
- FTC: Protecting Personal Information, a guide for business (opens in a new tab)
- Supabase docs: Row Level Security (opens in a new tab)
- CISA: Turn on multifactor authentication (opens in a new tab)
Last reviewed November 25, 2026. AI tools change fast; check each tool’s own site for current features, plans and prices.
