Menu

Object Storage Service with Pre-Signed URLs Explained: Node.js Uploads for 3 Tenants
📰

Object Storage Service with Pre-Signed URLs Explained: Node.js Uploads for 3 Tenants

DEV Community: node·DorianReed2186·12 days ago
#HpoosJf3
#devtonodejs#devto#dev#tenant#object
Long article (1351 words) — no AI summary yet.
Reading 0:00
15s threshold

A signed URL is useful only after the application has decided exactly which tenant may write which training artifact, for how long, and under what retention rule. For a gaming service, I would keep the authorization decision in the API and let object storage handle the bytes. That split gives players and build workers direct uploads without making the API a file proxy, while preserving an audit trail that can reproduce why an object was retained or deleted.

Short answer: use short-lived, single-object signed URLs, derive the object key from server-side tenant and job identifiers, and store the retention decision beside the artifact metadata. Never accept a client-supplied path as an authorization boundary.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.