A single-user WebDAV server with multiple authentication keys
About
- Tampermonkey synchronizes using WebDAV.
- Stylus synchronizes using WebDAV.
- OpnSense can back up using WebDAV.
I want to be able to use these features, but I don't want a key leaking from any of these impacting the others, or the rest of my personal files in Nextcloud.
So instead, make a custom server that cordons off each of these (and any other applications that use WebDAV) and has multiple tokens.
Thoughts on implementing it:
- Ruby on Rails with Hotwire. This is such a basic server-side application that it seems like a perfect fit.
- Apache with
mod_dav
andmod_authn_dbd
/mod_authz_dbd
.