<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/a-pre-signed-url-is-not-a-standing-download-grant-tva2s9he8" -->

---
title: A pre-signed URL is not a standing download grant
description: Pre-signed URLs should be treated as short-lived, single-object capabilities rather than permanent download grants. The recommended pattern binds a signed URL...
canonical: https://daily.dev/posts/a-pre-signed-url-is-not-a-standing-download-grant-tva2s9he8
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: A pre-signed URL is not a standing download grant | daily.dev
og:description: Pre-signed URLs should be treated as short-lived, single-object capabilities rather than permanent download grants. The recommended pattern binds a signed URL...
og:url: https://daily.dev/posts/a-pre-signed-url-is-not-a-standing-download-grant-tva2s9he8
og:image: https://api.daily.dev/og/posts/tva2S9hE8.png
og:image:alt: A pre-signed URL is not a standing download grant
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# A pre-signed URL is not a standing download grant

**[Auth By Example](https://daily.dev/sources/7eadcwhmohx0bchehapmt)** · [@authbyexample](https://daily.dev/authbyexample) · 1 min read · 0 upvotes · 0 comments

## Summary

Pre-signed URLs should be treated as short-lived, single-object capabilities rather than permanent download grants. The recommended pattern binds a signed URL to a specific key, uses short expirations, and revokes issuance of new URLs when a user's permissions change or narrow. Authentication and authorization (actor, object, action) should happen before signing.

## Content

A pre-signed URL is a short-lived capability for one object and one action (usually GET). Minting it does not mean the caller may keep downloading forever. Bind the URL to the exact key, set a short expiry, and if the user's permission is revoked or narrowed before expiry, treat that as a reason to stop issuing new URLs and to prefer shorter TTLs for sensitive objects. Authenticate the requester, authorize actor + object + action, then sign.

## Similar posts on daily.dev

- [Presigned URLs are technically a security vuln](https://daily.dev/posts/presigned-urls-are-technically-a-security-vuln-k55xo6puc) · Tigris · 56 upvotes · 1 comments
- [Trusted URLs Via Cryptographic Signatures](https://daily.dev/posts/trusted-urls-via-cryptographic-signatures-1uu8tndzm) · Hacker News · 0 upvotes · 0 comments
- [Pre‑Signed URL Upload Architecture \(Cloudflare R2 \+ Hono Workers\)](https://daily.dev/posts/pre-signed-url-upload-architecture-cloudflare-r2-hono-workers--58kd2mkem) · Liran Tal · 1 upvotes · 0 comments
- [Why Real-Time Authorization Is Best For Agentic AI](https://daily.dev/posts/why-real-time-authorization-is-best-for-agentic-ai-dhcs1k2ke) · Nordic APIs · 0 upvotes · 0 comments

---

Tags: [#authorization](https://daily.dev/tags/authorization), [#aws-s3](https://daily.dev/tags/aws-s3)

[View this post on daily.dev](https://daily.dev/posts/a-pre-signed-url-is-not-a-standing-download-grant-tva2s9he8)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"DiscussionForumPosting","mainEntityOfPage":"https://daily.dev/posts/a-pre-signed-url-is-not-a-standing-download-grant-tva2s9he8","headline":"A pre-signed URL is not a standing download grant","text":"Pre-signed URLs should be treated as short-lived, single-object capabilities rather than permanent download grants. The recommended pattern binds a signed URL to a specific key, uses short expirations, and revokes issuance of new URLs when a user's permissions change or narrow. Authentication and authorization (actor, object, action) should happen before signing.","url":"https://daily.dev/posts/a-pre-signed-url-is-not-a-standing-download-grant-tva2s9he8","datePublished":"2026-09-28T15:24:11.218Z","dateModified":"2026-09-28T15:24:26.690Z","author":{"@type":"Person","name":"Auth By Example","url":"https://daily.dev/authbyexample","image":"https://media.daily.dev/image/upload/s--Fgz7IgGQ--/f_auto/v1789653205/avatars/avatar_7EADCwHmOHX0bChEhAPmt?_a=BAMAMicg0","interactionStatistic":{"@type":"InteractionCounter","interactionType":{"@type":"EndorseAction"},"userInteractionCount":60}},"interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":0},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"isPartOf":{"@type":"WebPage","url":"https://daily.dev/sources/7eadcwhmohx0bchehapmt","name":"Auth By Example"}}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"Auth By Example","item":"https://daily.dev/sources/7eadcwhmohx0bchehapmt"},{"@type":"ListItem","position":3,"name":"A pre-signed URL is not a standing download grant"}]}
```

