htdigest -c /home/httpd/.htdigestA WebDav username
then to add more users..
htdigest /home/httpd/.htdigestA WebDav username2
the -c means create the file, so if you use it subsequently, it overwrites everything..heh.
http://httpd.apache.org/docs-2.0/programs/htdigest.html
http://httpd.apache.org/docs/howto/auth.html
be warned, I took no time to implement reasonable permissions on the dav dir. That should be done with httpd Auth directives inside the directory directive specific to webdav.
Something along the lines of
AuthGroupFile /dev/null
AuthType Digest
AuthName "WebDav Dir"
AuthDigestFile /home/httpd/.htdigestA
require valid-user
<Limit GET POST>
require user cactus
</Limit>
Not sure which LIMIT methods need to be limited, a little research on your part would likely go a long way on that one, as well as digest based AuthType for apache..
but, the wiki is a good start for just getting dav up and running.
I had to make a package build for cadaver. I have used it in the past on my test machine, and even used it to work with my iMac account when I was playing with my powerbook's free iMac trial.
there is an interesting how to out there for settting up your own .mac account on your server, and fooling your Mac into using it instead of .mac. It is basically just a webdav setup with a little dns tom-foolery ala a hosts file.
That being said, you can disable iptables by removing iptables from the daemons list in /etc/rc.conf
and issuing an
/etc/rc.d/iptables stop