DisboxApp / web

Use Discord as a file storage service.
https://disboxapp.github.io/web/
GNU Affero General Public License v3.0
474 stars 86 forks source link

Share files/folders #12

Closed pinkosushi closed 1 year ago

pinkosushi commented 2 years ago

Being able to share a download link to a file/folder would be really convenient.

billyboybob commented 1 year ago

i wonder how this would work to be honest, as well as how to do it securely if its possible.

DisboxApp commented 1 year ago

Here's an idea for how to do this:

This means that this link will always be permanent and that anyone with that link will be able to download the file. Which is not ideal, but sounds pretty secure to me. What do you think? I think this can work but am willing to also hear other options.

P.S. Another thing to consider is if this endpoint will be on the server or client (which are currently separated). It fits the server side more, but it would be weird to have to share URLs that come from a different host. Doing it in the client side will also add an option to create a nice UI with progress tracking for the file download.