-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Description
It might be useful to have an option to specify an expiration date for a download URL, i.e. users would no longer be able to download a file associated with a URL once its date has expired.
Potential benefits
- Users can increase the security of their generated download URLs by issuing short-lived ones, making it harder to guess and exploit them
- Tracking an expiration date could be used with a clean-up routine to automatically delete files whose download URLs have expired (👉 Allow configuration of expiry of files in S3 #8)
Thoughts on how to implement that
- Use DynamoDB table item attribute to track expiration date
- Alternative: Store expiration date as object metadata on each uploaded file. Would alleviate need for separate database but would add more latency since S3 would effectively act as a database.
lmammino
Metadata
Metadata
Assignees
Labels
No labels