Menu

Marketplace Avatar Image Delivery: Why Public URLs Stop Working in Private Storage
📰

Marketplace Avatar Image Delivery: Why Public URLs Stop Working in Private Storage

DEV Community: go·LiraelVex6403·10 days ago
#u3oxIsvk
#devtogo#devto#dev#object#avatar
Reading 0:00
15s threshold

Short answer: A marketplace avatar needs a public delivery contract for a durable public URL; private object storage needs a refreshed signed download URL, and its expiry says the access grant ended, not that the image was deleted.

For a marketplace avatar, retention and deletion should decide the access model before the upload API does: a stable anonymous image address needs a deliberately public delivery contract, while a private object should be reached through a short-lived signed download capability. A public-looking URL cannot override a private bucket, and an expired signed URL is not evidence that the object was deleted.

That distinction matters most when a seller closes an account or replaces a profile image. The product needs to answer two separate questions: who may read the bytes now, and how long must those bytes remain recoverable?…

Continue reading — create a free account

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