What is presigned URL?
A presigned URL is a time-limited, cryptographically signed link that lets the holder perform one specific action, such as uploading or downloading a single object, in cloud storage without having storage credentials.
How it works
Object storage services such as Amazon S3 and Cloudflare R2 let an application sign a request in advance. The signature, expiry time and allowed operation are encoded in the URL's query string. Whoever has the URL can perform exactly that operation on exactly that object until it expires, and nothing else.
Why applications use them
Presigned URLs let large files go straight between the user's browser and storage, instead of passing through the application's servers. That is faster, cheaper and keeps the application out of the data path.
Using them safely
- Keep expiry short. Minutes to hours, not days.
- Restrict the operation. An upload URL should not allow reading.
- Pin the size and type for uploads where the service supports it, so a client cannot upload more than it claimed.
- Remember it is a bearer link. Treat it like a temporary password.
With client-side encryption
Combined with client-side encryption, a presigned upload means storage only ever receives ciphertext, and the application server never sees the file at all. Konfidant's web app and SDKs upload encrypted files this way.
Konfidant shares passwords, keys and files through one-time links, encrypted on your device and deleted after the first view.
Try it free