I like PostgreSQL and ownCloud, but I do not like passwords, especially if they have to stored in plain text in a widely readable configuration file. So, I wanted to use PostgreSQL peer authentication with ownCloud as well.
Would you like to use an existing database for Apache authentication, e.g. instead of the htpasswd file in your small WebDAV server?