18 Oct 1999. Daniel Hellerstein (danielh@crosslink.net) Manager: A Remote File Manager for the SRE-http web server. MANAGER allows you to remotely manage files on your SRE-http web server. ------------------------------- Contents. I. Introduction II. Configuring MANAGER III. Starting and Using MANAGER IV. Multiple File Downloads ------------------------------- I) Introduction With MANAGER you can: a) delete, copy, and move multiple files b) extract and unzip .ZIP files c) upload and download files d) edit small files MANAGER has several security features, including control over what directories are accessible, and requirement that clients have a "dynamic password". a) Viewable directories. MANAGER can be told to "allow access" only to: i) the GoServe data directory (and it's subdirectories), ii) the GoServe working directory (and it's subdirectories), and iii) SRE-http virtual directories (and their subdirectories) Alternatively, you can explicitly list a set of directories that MANAGER will allow access to; these directories can be anywhere on your server. b) MANAGER can use SRE-http "dynamic passwords" for more secure access control. I) To install MANAGER: a) Unzip MANAGER.ZIP to a temporary directory b) Copy MANAGER.CMD to your SRE-http addon directory. c) Optional: edit some parameters in MANAGER.CMD d) Optional: copy DoMixed.CMD to a permanent location You might also want to copy it to your GoServe data directory (so as to make it available for easy downloading) e) Optional: copy MANAGER.DOC (the text documentation file) to your GoServe data directory (there is a link in one of the MANAGER windows to /manager.doc) Note: the latest version of MANAGER can be found at: http://www.srehttp.org/apps/manager/ ------------------------------- II) Configuring MANAGER: To configure MANAGER, you should edit MANAGER.CMD with your favorite text editor, and modify the various parameters in the user-configurable parameters section (it's at the top of the file). The parameters are: ALLOWED_DIRS. Specify directory access on a client specific basis ALLOWED_DIRS. is used to specify which directories a client has access to, based on the client's "privileges" (say, as set in the ATTRIBS.IN or the USERS.IN SRE-http parameter files). When specified, only files in these "allowed directories" (and in subdirectories under this these allowed directories) can be manipulated. You can define "default" ALLOWED_DIRS. entries, and you can also define "host-specific" ALLOWED_DIRS. entries. ALLOWED_DIRS. is only used when CHECKIT=2 (CHECKIT is described below). The ALLOWED_DIRS. syntax is: a) define the number of entries using: ALLOWED_DIRS.0=nnn ALLOWED_DIRS.!hostnickname.0=nnn where nnn is an integer > 0. If there are no allowed entries, se ALLOWED_DIRS.0='' b) define n=1...nnn entries: ALLOWED_DIRS.n='directory privlist' ALLOWED_DIRS.!hostnickname.n='directory privlist' where: directory : a fully qualified directory privlist: a list of "client privileges" -- if a a client has one of these privileges, she is given access to this directory. Note: a privlist of * means "anyone can access" Note that for each request, the "default" (ALLOWED_DIRS.n) and the host specific (ALLOWED_DIRS.!HOST.n) will be checked, where HOST is the host_nickname (this is ignored if the request is to the "default" host). Note that you MUST place an ! before the host_nickname. Example: allowed_dirs.0=2 allowed_dirs.1='g:\www\ *' allowed_dirs.2='g:\goserve\ MAN ' allowed_dirs.!host1.0=1 allowed_dirs.!host1.1='g:\work fan' CHECKIT: access mode CHECKIT can take the following values: 0 = allow remote use by superusers (unless suppressed by SREF_NO_REMOTE_CONFIG) to goserve datadir, working directory, and sre virtual directories ALLOWED_DIRS. is not checked. Note: if SREF_NO_REMOTE_CONFIG=1, then checkit=0 is the same as CHECKIT=1 1 = do NOT allow remote use. Otherwise, same as checkit=0 2 = allow remote (and local) access to the ALLOWED_DIRS. only If checkit=2, then SREF_NO_REMOTE_CONFIG is ignored Example: CHECKIT=2 DYNAMIC_PWD: Require an encoded secret privilege (a dynamic password) 1= yes -- the client must enter a valid dynamic password. 0= no -- dynamic password is not required. Example: dynamic_pwd=0 Note: for info on dynamic passwords, see the SRE-http documenation file DYNPWD.DOC. DYNPWD_DURATION: Duration of dynamic_password How long a given dynamic password is valid, in days (fractions of days okay) Example: dynpwd_duration=0.5 (12 hours) COLORS: colors used to display del,copy,move radio buttons These the standard 6 hex-digit color codes. DELCOLOR: color of the "delete" buttons COPYCOLOR: color of the "copy" buttons MOVECOLOR: color of the move (rename) button Examples (be sure to include the leading #) delcolor="#f5ddf9" copycolor="#00fdf9" movecolor="#9addf9" MAX_SIZE_EDIT: Maximum size of "on-line" editable files The maximum size (in byte) of files that can be edited by MANAGER (using a TEXTAREA form element). This is a function of how large a