access control via http/https

TK Soh teekaysoh at yahoo.com
Mon Sep 26 03:52:44 CDT 2005


--- Jan Hudec <bulb at ucw.cz> wrote:
> 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.

Thanks. I was able to set in up browser access after doing some research, but
got the follow error when try to clone:

% hg clone http://user:password@hostname/hg/repo1
  requesting all changes
  abort: HTTP Error 400: Bad Request

Any clue?


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 


More information about the Mercurial mailing list