Security Overview
Last updated: November 16, 2026
This document describes the technical and organizational measures Learnix uses to protect student and teacher data. It should be read with the Privacy Policy and the Student Data Privacy Summary.
1. Data we hold
For a student, Learnix holds an email address, a display name, class memberships, learning progress, and the work they do in Learnix (code, projects, quiz and test answers). For a teacher, it also holds the classes, assignments and grades they create.
We never ask for birth dates, home addresses, phone numbers, student ID numbers, Social Security numbers or payment details.
2. Where data is stored
| What | Where |
|---|---|
| Accounts, classes, progress, student work | Supabase (PostgreSQL) in Ohio, United States (AWS us-east-2) |
| The website | Vercel, served over HTTPS |
| Email we send | Resend |
Every provider that can touch personal data is listed, with what it receives, on our sub-processors page.
3. Encryption
- In transit: every page, sign-in and data request uses HTTPS (TLS).
- At rest: the database and its storage are encrypted at rest by our database provider.
- Passwords: handled by Supabase Auth and stored only as salted hashes. Learnix staff can never see a password.
4. Access controls
Access is enforced inside the database, not only in the app. Row-level security is turned on for every table (82 of 82), so each request can only reach the rows its user is allowed to see:
- A student sees only their own work and their own classes.
- A teacher sees only the students in classes they own. A teacher can't reach another teacher's students.
- Students can't change grades. A database rule keeps grades the teacher entered from being altered by the student, even by editing requests by hand.
- A teacher decides when a project grade is shared with the student; held grades aren't shown or emailed to the student.
- A suspended account can't change any data.
Teachers and students sign in with an email and password, where new accounts confirm their email address first, or with their Google account.
5. Learnix staff access
Learnix staff tools sit behind their own sign-in, separate from teacher and student accounts. A Learnix teacher or student account, even a compromised one, can't reach them. Signing in takes several independent steps:
- Email and password. The password is stored only as a salted PBKDF2 hash. A correct password gives a short-lived ticket (5 minutes) for the next step, not access.
- A second factor:
- On a phone: Face ID, using a passkey bound to the device and to learnix.academy, so it can't be phished or used from another website.
- On a computer: the staff member picks their secret icon from a shuffled grid, and then has to approve the sign-in on their phone.
- Phone approval for computers. The staff member's phone shows "Verify sign-in" with the computer's details, confirms with Face ID, and then shows a one-time code as a scannable QR-style code. The computer scans it with its camera (or the code is typed in). Each code works once, for 2 minutes. The phone can also reject the attempt.
- Five wrong passwords, icons or passkey attempts in a row lock staff sign-in for 15 minutes, doubling with each further lockout.
- Staff sessions use signed, short-lived tokens checked on every request.
- Staff look at a user's data only to support them, keep the service secure, or answer a verified data request.
- Secret keys (database service key, email key, AI key) are kept only in our providers' secret stores, never in code. Every code change is scanned automatically, and a change that contains a secret key is rejected.
6. Code execution and AI
- Running code: Python runs inside the student's own browser. Java runs on isolated third-party code runners (Judge0, with Wandbox as a backup). Student code never runs on Learnix servers.
- Learnix AI is off for students unless the teacher turns it on for an assignment, and never available on quizzes or tests. Names and email addresses are removed before anything is sent to the AI provider (Anthropic), which doesn't train on it and deletes it within 30 days. See the AI Impact Assessment.
- Abuse protection: sign-up and contact forms are protected by Cloudflare Turnstile, and AI use has per-person daily limits.
7. Monitoring and incident response
- Automated checks test the core of the service around the clock (more than 150 different checks, thousands of runs a day) and raise an incident when one fails.
- Errors people hit in the app are reported automatically to our incident dashboard, with no code or answers attached.
- If student data is ever exposed, we tell affected teachers and schools within 72 hours and affected families within 30 days. The full process is in the Incident Response and Data Breach Plan.
8. Retention and deletion
We keep data only while an account or class needs it, and delete it within 30 days of a verified request, an account deletion, or the end of a school's agreement, with a written certificate of deletion for schools. Details are in the Data Retention and Deletion Policy.
9. Compliance and agreements
- FERPA: Learnix acts as a school official under the school's direct control.
- COPPA: students under 13 use Learnix only through a class, with their school's authorization.
- State student privacy laws: we follow Connecticut's student data privacy law and will sign a state's standard student data privacy agreement, the National Data Privacy Agreement, or a district's own agreement.
- No selling, no ads: student data is never sold, never used for advertising, and never used to build ad profiles.
10. Contact
For a security question, a signed agreement, or to report a concern, email support@learnix.academy or use our contact page. We answer data requests within 30 days.