I'm trying to write a daemon that will fulfill the same role as a *nix FTP daemon, but using the DAV protocol. CPAN gives me the complicated bits in the form of HTTP::Daemon and Net::DAV::Server.
The daemon should accept incoming DAV requests, fork, authenticate the user against the system password database, setuid to the user if they pass, and serve up DAV responses from their home directory. Then exit.
My searching has not helped, so I seek help here: