Menu

Property Export Files: Attachment Names, Signed Object Links, and Retention
📰

Property Export Files: Attachment Names, Signed Object Links, and Retention

DEV Community: node·UriahHawkins5489·10 days ago
#lUusNbG8
#devtonodejs#devto#dev#object#storage
Long article (1301 words) — no AI summary yet.
Reading 0:00
15s threshold

Short answer: keep exports private, upload them under a temporary object key, and hand the browser a short-lived signed URL whose response is treated as an attachment. This gives a property-management app predictable CSV, PDF, and ZIP downloads without proxying large bytes through Node.js. The important design decision is retention: decide when the object disappears before choosing a storage vendor.

Keep it private.

The download path I would ship

Consider a maintenance report generated for one building. The worker writes exports/job-8f2c/report.tmp , the app signs a download, and the browser receives report-2026-09.pdf . The web process moves metadata and authorization, not the file body. That separation keeps memory and request time boring, which is exactly what I want for a solo team shipping LLM-assisted features around the edges.

Here is a small Node.js example using Infrai's native storage surface. It uploads with an explicit content type, then asks for a signed link.…

Continue reading — create a free account

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