Skip to content

Specify date when download URL expires #11

@paulgalow

Description

@paulgalow

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions