Security

Security at LessonHQ

Our technical controls, data residency and how to report a vulnerability.

We take the security of teacher and school data seriously. This page summarises our technical controls. Report a vulnerability to [email protected] (see also our security.txt).

In transit & hosting

  • All traffic is served over HTTPS/TLS (TLS 1.2 and 1.3 only); HTTP is redirected to HTTPS.
  • HSTS is enabled (2-year max-age, preload) to force secure connections.
  • Hosted on Hetzner cloud servers in the EU (Germany); the database only accepts connections from the server itself.
  • All traffic passes through Cloudflare (content delivery and DDoS protection).
  • Nightly backups are encrypted (AES-256) on our server before they leave it, then copied off-site to a separate Hetzner backup server in Germany over an encrypted (SSH) connection. Backups are kept for 14 days.
  • A network firewall blocks everything except web traffic and the administrator's own encrypted connections, and administrator log-in to the server uses SSH keys, not passwords.

Application security

  • Security headers: Content-Security-Policy, X-Frame-Options (DENY), X-Content-Type-Options (nosniff), Referrer-Policy, Permissions-Policy.
  • Sign in with an email and password (stored hashed with bcrypt), Google or Microsoft. A Microsoft sign-in is never linked automatically to an existing account with the same email address, which protects against account takeover.
  • Authentication via industry-standard session tokens; hCaptcha protects sign-up (and generating without an account) against bots, and the help chat is rate-limited.
  • Google export tokens (from Google sign-in or Connect Google Drive) are kept on our server only, never sent to the browser, and limited to the files LessonHQ creates (Google's drive.file permission). Disconnecting Google Drive deletes them and asks Google to cancel them.
  • Live lessons run in server memory. So a lesson can survive a restart, the teacher's browser holds a copy that is encrypted (AES-256-GCM) and can only be opened by our server for that teacher; it is cleared when the lesson ends.
  • Photos of handwritten work added to the Marking Assistant are handled in memory only, with hidden details such as location removed before they are sent to the AI provider; they are never saved.
  • When a teacher gives a web link as a lesson source, our server only fetches public web pages: addresses on private or internal networks are refused, and every redirect is checked again.
  • Access controls gate every account-scoped resource, and a live lesson's host view requires the teacher to be signed in. Content that can contain student data (Report Writer comments, Staffroom documents, Visual Supports Packs) can never be listed for sale or previewed publicly. The image optimiser is locked to an allow-list of image hosts.
  • Only the founder has administrator access. Administrator accounts must use two-step sign-in: a code from an authenticator app as well as the password.
  • Payments are handled entirely by Stripe - we never see or store card numbers.

If there is a data breach

We keep a written breach response plan. If we confirm a security breach that affects student data, we will:

  • Tell the affected schools and districts within 72 hours of confirming the breach - or sooner where state law requires it (for example, 48 hours for Virginia school divisions).
  • Tell them, in plain language: what happened and when, what data was involved and which students or classes are affected (as far as we know), what we have done to stop it and protect the data, what they may need to do (for example informing parents), and who to contact at LessonHQ.
  • Send updates as we learn more, help the school or district meet its own legal duties, and share a short written summary of the cause and what we changed afterwards.

Notices come from Aaron Poyser (founder) by email ([email protected]) to the school or district contact we hold, or to the teacher's account email if we have no other contact. To report a suspected breach or security problem, email [email protected]; for anything else about student data, email [email protected].

Data & deletion

  • You can export your content (editable PowerPoint, Word, Google Slides/Docs and PDF) and it is yours to keep.
  • For a copy of your personal data, email [email protected] (there is no self-serve data download).
  • Accounts can be closed, and personal data erased, from Account Settings or the Parent Dashboard - see our Privacy Policy.
  • Third-party processors are listed on our Subprocessors page.
  • Exactly which student data each feature holds, where it is stored and how long it is kept: see Student data privacy.

Accessibility: see our Accessibility statement for what works today, known problems and how to report one.