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

uploaded files / attachments are publicly accessible #29

Open
graik opened this issue May 10, 2016 · 1 comment
Open

uploaded files / attachments are publicly accessible #29

graik opened this issue May 10, 2016 · 1 comment

Comments

@graik
Copy link
Owner

graik commented May 10, 2016

File uploads to S3 but also filesystem-based storage are non-private. Given the link, this content can be downloaded by anyone.

@graik graik added the bug label May 10, 2016
@graik
Copy link
Owner Author

graik commented May 10, 2016

possible reading:
https://github.com/RacingTadpole/django-private-media

There is an alternative solution for AWS / S3 storage using more involved permissions and policies. S3BotoStorage has a 'private' setting (off by default) and, for download, AWS_QUERYSTRING_AUTH lets AWS generate a temporary URL depending on authentication.

@graik graik added enhancement and removed bug labels Aug 14, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant