Tenant export retention: private storage, signed URLs, and verifiable deletion
The article argues for choosing the simplest object store that keeps all uploads private, issues short-lived signed URLs only after tenant authorization, and maintains a deletion ledger covering both source files and exports. It stresses that the application, not the browser or bucket configuration, must determine tenant ownership by checking permissions against its own metadata before generating any download link. Signed URLs are treated as temporary delivery capabilities that should never be logged or stored in analytics. The author walks through an example of a tenant export, showing how object IDs, expiry deadlines, and reconciler-driven deletion keep source rows untouched. The piece also includes a TypeScript policy core that enforces cross-tenant rejection, caps download grants at 15 minutes, and generates deletion work for user requests or expired retention deadlines.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.

Discussion (0)
Log in to join the discussion and vote.
Log in