access control via http/https

Jan Hudec bulb at ucw.cz
Mon Sep 26 02:27:13 CDT 2005


On Sun, Sep 25, 2005 at 23:24:27 -0700, TK Soh wrote:
> I wonder if it is possible to implement access control that restrict http/https
> access to a selected list of users, including browsing of repo with a web
> browser. Perhaps something similar to 'cvs login'?
> 
> Currently we can published our repos via http, but that pretty allow everyone
> within the network access the repos. Would be nice if I can just create a list
> in .hg/hgrc to control the access.

If you are using hg as CGI, use the web server's access control tools.
.htaccess with the right setting should do the trick.

--
						 Jan 'Bulb' Hudec <bulb at ucw.cz>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://www.selenic.com/pipermail/mercurial/attachments/20050926/6d4f7059/attachment.pgp


More information about the Mercurial mailing list