core icon indicating copy to clipboard operation
core copied to clipboard

[FEATURE REQUEST] One Time download for public shares

Open ser72 opened this issue 12 years ago • 10 comments

It is desired that when a user shares a file/folder as a link, that as soon as the file/folder is downloaded via the link, the share expires.

In the event there is a folder with multiple files inside, the entire share should not expire until all files are downloaded. However, as an individual file is downloaded, it should be expired and not be allowed to be downloaded again.

@MTRichards @karlitschek

ser72 avatar Mar 19 '14 20:03 ser72

I can picture already picture the error message: "Sorry, but you've used up all your downloads. Please contact the sharer and ask him/her to share the file again" :wink:

I'm not sure it's a good idea to have the "file list" situation. This would require tracking not only whether the share has been accessed / downloaded but also every file. And also, the user might need a visual cue for the files they already downloaded. It feels like the code complexity for this and potential UX confusion is not worth the gain.

For one-time folders I'd suggest to just have a download button that delivers a zip file and disable the file list view.

PVince81 avatar Mar 20 '14 09:03 PVince81

What if the first time download initiated a 24 hour expiration of the share? then it wouldn't be deleted immediately, but the clock would be started.

MTRichards avatar May 27 '14 22:05 MTRichards

I like the idea, but I think this idea is only useful for public share, to limit the risk that an unauthorized person finds the link and download the data. And in this case why limit it to one time, it would be great if we could set the number of time a file can be downloaded before expiration. Say I want to share it with 5 persons, I can expect it to be downloaded 5 times (and could be setting it to 7 just in case a download fails) I have seen this feature in one similar product. @PVince81 we could just grey out each dowloaded file (within a session) and as long as the session is not closed the person should be able to redownload any file without the counter being incremented - to account for the failed downloads. Also note that I often share photos and that people do not always want to download all of them, but just a selection. So it would be great if we could keep the counters for all files of a folder

In the case you share it internally I do not see the advantage to limit the number of downloads, as once downloaded, the person that downloaded the file, can duplicate it and reshare it,... But maybe there are uses case that I haven't come across...

bernic avatar Jul 29 '14 17:07 bernic

Note: OC 7 now has an option to force defaulting expiration date to 7 days in case the sharer forgets.

PVince81 avatar Aug 12 '14 09:08 PVince81

I am using thunderbird filelink to send owncloud-https-links instead of attachments. I really love the idea of having the option to upload the file as an one-time-only-download. This way I could for example send passwords (not related to owncloud) to a customer. If I would activate the passwords only after making sure the download was done by my customer (and not somebody else), this would be I quite secure way to transfer the information.

But maybe this is a very special use case. What do you think? Could this be done by a plugin?

lupusmeatus avatar Aug 30 '14 23:08 lupusmeatus

i like this idea as well

anarcat avatar Sep 22 '14 19:09 anarcat

+1 lupusmeatus, the use case you described is exactly what i would like to use the feature for.

l3iggs avatar Dec 21 '14 08:12 l3iggs

@lupusmeatus We would like to use the feature in your described way too.

Does someone knows a plugin that provides this function ?

js94x avatar Jul 19 '16 07:07 js94x

@pmaier1

PVince81 avatar Dec 13 '17 16:12 PVince81

In the case you share it internally I do not see the advantage to limit the number of downloads, as once downloaded, the person that downloaded the file, can duplicate it and reshare it,... But maybe there are uses case that I haven't come across...

This is also the case for public links.

I don't really see the use case and demand for this. Sending passwords securely should be done via end-to-end-encryption, not via oC public links.

pmaier1 avatar Dec 13 '17 17:12 pmaier1