Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement support to serve media from private buckets #5542

Open
syphernl opened this issue Apr 3, 2024 · 1 comment
Open

Implement support to serve media from private buckets #5542

syphernl opened this issue Apr 3, 2024 · 1 comment
Labels
type: feature enhancement An improvement to existing functionality
Milestone

Comments

@syphernl
Copy link

syphernl commented Apr 3, 2024

Which part of the project should be enhanced?

Media Uploads

Is your enhancement request related to a problem? Please describe.

No response

Describe the solution you'd like

Media uploaded to buckets, e.g. S3, require the buckets (and their objects) to be available publicly. It would be preferable to keep a bucket set to private.

Describe alternatives you've considered

A few ideas to implement this:

  • Use signed urls (but they expire so they cannot be stored as-is).
  • Create a "media proxy" endpoint that retrieves the image from the bucket. It could return either the signed URL (or redirect to it) or the actual object it obtained.

Additional context

No response

@ErikMichelson ErikMichelson added the type: feature enhancement An improvement to existing functionality label Apr 3, 2024
@ErikMichelson ErikMichelson added this to the Version 2.0 milestone Apr 3, 2024
@ErikMichelson
Copy link
Member

ErikMichelson commented Apr 3, 2024

An endpoint for media access is tracked in #2310 and currently being implemented in #5535. The endpoint will redirect to the URL that the configured storage backend returns.

Making the S3 storage backend return signed URLs is a feature I'd like to see as well. Issue #2104 has some similarities, although not being the same thing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: feature enhancement An improvement to existing functionality
Projects
None yet
Development

No branches or pull requests

2 participants