Skip to content

Improve security of download data by using ACLs #429

@jthrilly

Description

@jthrilly

Currently, exported data can be dowloaded by anyone who can get access to the URL. Although the URL is obfuscated and it is unrealistic for an attacker to be able to guess it, this is a security loophole I would like to close.

It seeks UploadThing supports ACLs for files: https://docs.uploadthing.com/concepts/regions-acl#access-controls

The ideal solution would be:

  • Accessing the exported data zip files is protected by an ACL
  • These files can only be access by logged in users
  • We find a way to make certain data, such as data export zip's, automatically expire after a set amount of time. We want to implement this natively within S3, rather than having it be part of our app logic, because if the app breaks so does the cleanup!

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