steveandroulakis / mytardis-lighthouse-migrate-test

testing migrations from http://mytardis.lighthouseapp.com/ to Github Issues
0 stars 0 forks source link

Support for / protection against huge downloads #211

Open steveandroulakis opened 11 years ago

steveandroulakis commented 11 years ago

The current download scheme involves creating a copy of the archive that the user wants to download in a temporary file. If the user wants to download a truly massive collection of datafiles, this scheme is going to fail because there won't be enough temporary file space. A second problem is that the larger a download is, the greater the chance it will fail to complete due to network failures, server restarts, browser restarts and so on. Finally, requesting a lot of huge downloads is an easy way to implement a denial of service attack ...

Here are some things we could do to address these issues:

original LH ticket

This ticket has 0 attachment(s).

steveandroulakis commented 11 years ago

Support for / protection against huge downloads

(For the record, we currently have a configurable upper limit on the size of a download. But this is a one-size-fits-all limit, independent of user identiy and privileges.)

by Stephen Crawley