diaspora/app/uploaders
Jonne Haß 0a70e51f74 Add a token the filename for exported user data
Also redirect to it for download, for Amazon S3
compatibility.

Prior to this patch an attacker could obtain an
users export by guessing the filename with a high
chance of success. Fully authenticating the
download request is a lot harder due to our diverse
deployment scenarios.

This brings the used method in line with the photo
export feature.

Thanks to @tomekr for the report.
2015-04-22 20:19:17 +02:00
..
exported_photos.rb Add a token the filename for exported user data 2015-04-22 20:19:17 +02:00
exported_user.rb Add a token the filename for exported user data 2015-04-22 20:19:17 +02:00
processed_image.rb Strip EXIF data as user preference 2015-01-18 10:28:28 -03:00
secure_uploader.rb Add a token the filename for exported user data 2015-04-22 20:19:17 +02:00
unprocessed_image.rb Strip EXIF data as user preference 2015-01-18 10:28:28 -03:00