filebrowser icon indicating copy to clipboard operation
filebrowser copied to clipboard

[request] Specify custom share URI

Open Darkassassin07 opened this issue 6 months ago • 1 comments

The current URIs generated for share links are long random-looking alphanumeric strings (file.browser/share/xxxxxxxxxxxxxxxxxxxxx). This is great for security; preventing people from finding shares by trying out random strings as well as ensuring each one is unique, but they are difficult to manually type out/copy from one machine to another and next to impossible to remember. Especially now that they are longer than the OG filebrowser.

Sometimes it's nice to have a simple human-readable URI like '/share/workfiles' that you can remember and easily type into whatever browser you're at. I currently achieve something similar by placing individual files in a specific folder, then having Nginx bypass filebrowser and serve them if I use a path like /raw/filename.ext, but this method leaves me missing filebrowsers interface.

It would be great to be able to do this directly in filebrowser by specifying the webpath/uri a share should be located at during its creation. Perhaps with an additional permission allowing users acces to the feature, due to security implications.

Darkassassin07 avatar Jun 24 '25 07:06 Darkassassin07

agreed, this could definitely be another optional feature in 0.8.0.

But I think it should come with a really big warning label that it essentially opens the share up to anyone to access and should be password protected.

I get the desire for easy-to-remember links, but that also means easy-to-guess links for people you may not want to access it.

gtsteffaniak avatar Jun 25 '25 21:06 gtsteffaniak