W3C home > Mailing lists > Public > www-talk@w3.org > July to August 1995

Re:

From: Tad Coburn <tcoburn@vermeer.com>
Date: Thu, 13 Jul 1995 10:02:46 -0400
Message-Id: <199507131407.KAA12943@vermeer.vermeer.com>
To: Darmadi Komo <KOMO@isis.imac.georgetown.edu>, www-talk@www10.w3.org
At 08:15 AM 7/13/95 -0500, Darmadi Komo wrote:
>
>Protection SECRET {
>     UserID  www
>     GroupID  All
>     AuthType  Basic
>     ServerID   SecretServer
>     PasswdFile  /local/Web/setup/passwd.protected
>     GroupFile  /local/Web/setup/group.protected
>     GetMask   All@(*.imac.georgetown.edu)
>    }
>
>Protect   /local/Web/protect/*     SECRET
>
>Note: 
>- File passwd.protected is the file I created using htadm
>- File group.protected is www : All
>
>Can anybody answer these questions :
>It didn't prompt my username and password when I tried to access the 
>directory /local/Web/protect/*.html. Why?
>What are UserID and GroupID do exactly with the content of the 
>GroupFile?

UserID and GroupID are UNIX ids, and are *not* related to the
passwd.protected and group.protected files at all.  I think this is your
problem (unless your system has a UNIX user named 'www' in a group 'All').

In addition, the UserID and GroupID only apply if you run your CERN server
as a root process.  If you do run CERN as root, then, when it spawns a
sub-process to handle each request, the sub-process will run as the UserID
and GroupID specified.  This can prevent the server from accessing files
owned by other UNIX userid, etc.  If you don't run your CERN server as root,
I think UserID and GroupID are ignored (not sure).

Hope this helps.

-----------------------------------------------------------
Tad Coburn                      Voice:  (617) 576-1700 x135
Vermeer Technologies, Inc.      Fax:    (617) 576-1780
725 Concord Ave., 6th Floor     e-mail: tcoburn@vermeer.com
Cambridge, MA  02138            WWW: http://www.vermeer.com
Received on Thursday, 13 July 1995 10:07:19 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 27 October 2010 18:14:17 GMT