Access control for browser

Robert Bauck Hamar r.b.hamar at usit.uio.no
Fri May 14 08:25:23 UTC 2010


*hjazz6:
>I'm using mercurial-server 0.6, and hg serve to allow users to browse the
>repositories with a web browser.
>
>I realized that although I can control who can push/pull from the central
>repository by modifying the access.conf, I cannot control who can see the
>repositories on the browser. For example, if I have RepoA and RepoB in the
>central repository, both RepoA and RepoB will show up to anyone who points
>their browser to the central repository's IP address. What should I do so
>that I can, say, only allow UserA to see RepoA and UserB to see RepoB on
>their browsers, and anyone else is blocked completely?

You'll have to use a proper web server, see 
<URL:http://mercurial.selenic.com/wiki/PublishingRepositories>.

-- 
Robert Bauck Hamar
USIT/SAPP/GT - Cerebrum
http://www.uio.no/sok?person=roberth
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.mercurial-scm.org/pipermail/mercurial/attachments/20100514/1e479db0/attachment.asc>


More information about the Mercurial mailing list