-
Notifications
You must be signed in to change notification settings - Fork 3.6k
Description
Is there an existing issue for this?
- I have searched the existing issues
Summary
While testing the current self-hosted installation, using the AWS S3 integration, I noticed that all uploaded files in the application were set as publicly readable. This means that attachments on an issue could be viewed by anyone if they had the URL.
Instead, if S3 integration is enabled, the objects should be private, and there should be a method in the application to authenticate the request for an asset (i.e. the logged in user has access to the issue the asset is attached to, for example), and then stream the object from S3.
Why should this be worked on?
This would improve the security posture of the application. Currently I think it is too risky to use the s3 integration if all files are marked as publicly readable. If there is a configuration option I am missing here to make the s3 objects private please let me know :).