TL;DR: to generate a presigned URL for a file download in S3-compatible Node.js storage, authorize the customer first, then sign a short-lived GET request for the exact object key. Return it to the client and treat deletion as a separate retention workflow. The URL is a capability, not an authorization system.
For a B2B SaaS export, the decision boundary is simple: a presigned link fits a customer download that can go directly to object storage, while tenant ownership, retention, and deletion stay in the database and workers. A 60-second link can reduce load on the application server. It cannot decide if a report should still exist.
The signature is not the policy.
That is the catch.
Choice
Good fit
Main cost
Application-proxied download
Extra inspection, transformation, or per-byte policy
Application bandwidth and connection handling
Presigned GET
A private, already-authorized object can go straight to the customer
Leakage risk and a second failure surface
Public object
Discussion
Say something first
It all starts with you—share your thoughts now.