I am looking for one-time download link software. The idea is to upload a file and have it only available for one download, for security reasons. Expiry would also be nice.

The project needs to be:

  • free software (as defined by the OSI)
  • usable with a simple web browser
  • can host small text files but also arbitrarily large files
  • run on a simple POSIX stack (Linux, *BSD, etc)
  • a clean API would also be nice, but not mandatory
  • a commandline client would be nice as well
  • We'll need much more information to provide a solid recommendation. See What is required for a question to contain "enough information" for more detail. You say this should be a webapp - does there need to be an API? How big are the files you will be uploading? Do you have a budget? – Undo Sep 23 '14 at 18:06
  • is this sufficient? – anarcat Sep 24 '14 at 19:10
  • Would it remove the files once they've been downloaded? And should it only delete the link if it's completely downloaded? You could write something reasonable in < 100 lines of Python using Flask (+Gunicorn if you're going to expect several concurrent downloads) – Wayne Werner Sep 24 '14 at 20:56
  • @anarcat It looks so to me, thanks! – Undo Sep 24 '14 at 22:19
  • This is really interesting. I do know on Weebly they have this as a premium feature. Also you can set how many times the user can download their order. For example if it is an episode, file or practically anything. – Izumi-reiLuLu Sep 24 '14 at 23:58

here's what I found so far:

  • Jyraphe - manages uploaded files with one link per file, text and image preview, one-time links, time-based expiration, password access restrictions, no database, written in PHP
  • Coquelicot - a cleaner rewrite of Jyraphe in Ruby, with similar functionalities but also LDAP and IMAP password backends, unambiguous URLs (no "1" or "l"), original filename obfuscation, secure removal after expiration
  • 0bin - all of the above, but the server also doesn't know anything about the content, which is encrypted client side
  • onetime_download - drupal module to do something similar, albeit more limited

There's also:

| improve this answer | |
  • 1
    There's also a feature request for fpaste (which has a command line, bundled by default in fedora): fedorahosted.org/fpaste/ticket/5 – Nemo Oct 5 '15 at 20:25
  • @Nemo that URL seems dead... does fpaste feature that now? furthermore, that's just the client side of things... the server side is modernpaste.com and it doesn't seem to support one-time links. – anarcat Oct 25 '17 at 0:17

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.