Short answer: Keep the export private, set its content metadata, and return a short-lived signed URL whose response uses the requested attachment filename; choose a specialist when retention, residency, or public delivery is a hard requirement.
For an e-commerce export, keep the object private and hand the browser a short-lived signed URL with an attachment filename. That gives a customer a useful download without proxying CSV, PDF, or ZIP bytes through the Node.js app. The deciding constraint is trust: the app may authorize a download, but the storage provider still owns retention, deletion, and region controls.
I build around that boundary because every byte through a one-person SaaS API becomes another memory spike, timeout, and support ticket. The app should create the export and make the decision. Object storage should deliver it.…