How to configure mercurial access controls using apache and hgweb?

Posted by Gj1 on Server Fault See other posts from Server Fault or by Gj1
Published on 2011-02-22T00:55:43Z Indexed on 2011/02/25 15:26 UTC
Read the original article Hit count: 188

I have set up a mercurial repo to be served using apache+wsgi+hgweb on OS X.

It is now completely open to anyone who stumbles upon my server on the correct port number..

How can I set it up so that only people with a username+password pair that I approve can pull and/or push from the repo?

I know how to very easily achieve this using ssh, but in this specific case the requirement is that the solution doesn't require defining full fledged user accounts on the machine for each person whom I'd like to give access to the repo.

© Server Fault or respective owner

Related posts about apache

Related posts about security