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

Add a token to file download links #80

Closed
rolandgeider opened this issue Jun 28, 2014 · 0 comments
Closed

Add a token to file download links #80

rolandgeider opened this issue Jun 28, 2014 · 0 comments
Assignees
Labels
blocker Hard block of a release
Milestone

Comments

@rolandgeider
Copy link
Member

At the moment the URLs that download files (workout PDF, etc.) check that the user is the owner of the object. This does break down when the application is "installed" and opened as an app. While there is code in the android app for this, a solution should be implemented that works for all devices (firefox OS, etc.). The easiest solution would be to add a token that is valid for x min. If it's possible to use django's token framework used for the password recovery, then we use that otherwise we roll out our own.

@rolandgeider rolandgeider added this to the 1.5 milestone Jun 28, 2014
@rolandgeider rolandgeider self-assigned this Jun 28, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
blocker Hard block of a release
Projects
None yet
Development

No branches or pull requests

1 participant