[FEATURE REQUEST] One Time download for public shares
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
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.
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.
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...
Note: OC 7 now has an option to force defaulting expiration date to 7 days in case the sharer forgets.
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?
i like this idea as well
+1 lupusmeatus, the use case you described is exactly what i would like to use the feature for.
@lupusmeatus We would like to use the feature in your described way too.
Does someone knows a plugin that provides this function ?
@pmaier1
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.