os-js / osjs-filemanager-application

OS.js File Manager Application
https://manual.os-js.org/v3/
Other
10 stars 13 forks source link

File sharing support? #46

Open IngwiePhoenix opened 8 months ago

IngwiePhoenix commented 8 months ago

Hello there!

Would it be possible to add an endpoint to the server-side that allow the user to selectively share files from the File Manager, get a link back and share that to someone else who thus has the permission to download it?

Kind regards, Ingwie

andersevenrud commented 8 months ago

Hi!

This could be done. It would require setting up some kind of token that can be attached to the URL which points to a VFS endpoint that allows access without having a physical session.

Needs some kind of middleman database to store and handle token lifetime.