Quick start a WebDAV server. Deployable on Deta.Space.
Based on niuhuan/wdav-rs (which, on its own, is NOT deployable on Deta.Space).
Anyone with a write hash can can upload files and, by doing so, can fill up /tmp
partition,
potentially make the website unusable (and prevent others from uploading any files). If you remove
the folder for a (previously) generated write hash, no one can upload files through that hash
anymore.
Even though da-server
has API to enable/disable autoindexing and/or serving index.html
(or
similar), it seems not to be working. To be investigated.
You can use applications that support WebDav to access files on the current device.
Such as GNOME Files application, Firefox, Floccus, Floccus with uBlock Origin.
Unfortunately, it seems that Rust doesn't allow us to override this default. Please vote for rust-lang/rust #115989.