#  $Id: SOCKET.UPW 1.9 2005/03/06 05:17:40 peterb Exp $
#
#  *** DO NOT REMOVE THE FOLLOWING NOTICE ***
#
#  Copyright (c) 1999-2005 Datalight, Inc.
#  All Rights Reserved
#
#  Datalight, Inc. is a Washington corporation located at:
#
#  21520 30th Dr SE, Suite 110,          Tel: +1.425.951.8086
#  Bothell, WA  98021                    Fax: +1.425.951.8094
#  USA                                   Http://www.datalight.com
#
#  This software, including without limitation all source code and
#  documentation, is the confidential, trade secret property of
#  Datalight, Inc., and is protected under the copyright laws of
#  the United States and other jurisdictions.  Portions of the
#  software may also be subject to one or more the following US
#  patents: US#5860082, US#6260156.
#
#  In addition to civil penalties for infringement of copyright
#  under applicable U.S. law, 17 U.S.C. 1204 provides criminal
#  penalties for violation of (a) the restrictions on circumvention
#  of copyright protection systems found in 17 U.S.C. 1201 and
#  (b) the protections for the integrity of copyright management
#  information found in 17 U.S.C. 1202.
#
#  U.S. Government Restricted Rights.  Use, duplication,
#  reproduction, or transfer of this commercial product and
#  accompanying documentation is restricted in accordance with
#  FAR 12.212 and DFARS 227.7202 and by a License Agreement.
#
#  IN ADDITION TO COPYRIGHT AND PATENT LAW, THIS SOFTWARE IS
#  PROTECTED UNDER A SOURCE CODE AGREEMENT, NON-DISCLOSURE
#  AGREEMENT (NDA), OR SIMILAR BINDING CONTRACT BETWEEN DATALIGHT,
#  INC. AND THE LICENSEE ("BINDING AGREEMENT").  YOUR RIGHT, IF ANY,
#  TO COPY, PUBLISH, MODIFY OR OTHERWISE USE THE SOFTWARE,IS SUBJECT
#  TO THE TERMS AND CONDITIONS OF THE BINDING AGREEMENT, AND BY
#  USING THE SOFTWARE IN ANY MANNER, IN WHOLE OR IN PART, YOU AGREE
#  TO BE BOUND BY THE TERMS OF THE BINDING AGREEMENT.  CONTACT
#  DATALIGHT, INC. AT THE ADDRESS SET FORTH ABOVE IF YOU OBTAINED
#  THIS SOFTWARE IN ERROR.
#
#
# username/passwords file for the HTTP and FTP servers
#
# format is:
# <username> <password> <path> <rights>
#
# where:
#   <username> is the name of the user, HTTP only: specify * for any value
#   <password> is the user's password, specify * for any value
#   <path>     is the disk space granted to user.  This value may be
#              expressed as a specific path or an indirect path based
#              upon the value of the HTTP_DIR environment variable.
#              Note that access to a directory implies access to all 
#              sub-directories in the tree.
#   <rights>   are the permissions given to the user within the
#              given path.  FTP rights must appear first or they will
#              be ignored.
#
#              FTP Rights:
#              d  change directories
#              c  create/delete directories
#              w  write files
#              r  read files
#
#              HTTP Rights:
#              e  get files/data
#              p  post data
#              g  use CGI
#              m  use remote console
#              u  put files
#
# For more information about these fields, please consult the documentation.
#

su su \ drwcepugm       # su may do everything on entire file system.

* * \ epgm              # anonymous HTTP user may get from and post to %HTTP_DIR%\
								# and use CGI and Remote Console (for demo purposes)
anonymous * c:\guest r  # anonymous FTP user may read from c:\guest
ftp * c:\guest r        # alternative form for anonymous FTP user

test1 test1 \ drep      # test1 can change directories and read files (FTP)
								# test1 get and post files (HTTP) in %HTTP_DIR%\

ftp1 ftp1 \guest rd     # ftp1 can read files and change directories (FTP)
								# in \guest and has no HTTP rights

http1 http1 \guest\http1 epgm # http1 can get data/files from and post data to
										# %HTTP_DIR%\guest\http1, use CGI
										# and use remote console.
										# http1 has no FTP rights

user1 user1 c:\guest\user1 rcw # user1 has full FTP access rights to the
                               # directory c:\guest\user1
