title: Mercurial web user authorization
body: <p>We installed Mercurial on the server which we use to synchronize developer's local repositories. We use stand alone mercurial web server (hg serve), what we want is to grant access to the web server only to the authorized users, right now it is accessible to all. </p>
  
  <p>Is there any way to configure authorization for Mercurial stand alone web server?</p>
  
  <p><em>In the configuration file (hgrc) there is a section called <code>[auth]</code> where a list of users can be defined, but it seems it is used for something else, not for web server.</em></p>