Skip to content
Note 07#security#backend

Encrypt third-party tokens even when the database is private

CompanyCam OAuth tokens grant access to someone else's account, so a database dump is not just your problem. Fernet encryption at rest means a leaked backup is inert, and the cost is one wrapper on read and write.

Related notes

  1. 08Retrofitting tenancy onto a live compliance product is not a weekend
  2. 06The audit log matters more than the share link
  3. 05Render PDFs as HTML, not coordinates