I’m trying to secure a WebDAV server behind Cloudflare using Google OAuth. This
works great in a web browser, but I need our users to natively mount the WebDAV
share to their local Mac/Windows/Linux desktops as a mounted network volume, and
I haven’t figured out a way to accomplish this. I’m hoping there might be some
way to first require authentication in a browser window, store that
authenticated user’s IP address “somewhere on Cloudflare”, then continue to
allow https access from their IP through other connection means, including a
secondary browser that hasn’t also been explicitly authenticated, or more to the
point - a native OS mount request of the https volume. The origin server also
requires it’s own Digest authentication, so once I’ve verified a particular IP
address is a valid user, I’m willing to allow them to direct-authenticate to the
server. Anyone have any thoughts on how do this? If not possible through
Cloudflare, I’ll gladly take an alternate solution that enables 2FA for the
native OS mount mechanism. It just has to be cross platform, and allow a proper
network volume mounted to the user’s desktop. Google OAuth is preferred, but any
2FA solution from the desktop (not a browser) will do the trick. Thanks in
advance!
(crossposted from c/Cloudflare on lemmy.ml)
The Cloudflare community doesn’t appear to be active yet, so I was hoping some fellow self-hosters might have a good suggestion. Thanks in advance for any and all suggestions!