WASD Hypertext Services - Technical Overview

11 - Authorization Quick Guide

11.1 - SYSUAF/Identifier Authentication
11.2 - SYSUAF Authentication
11.3 - Other Authentication
11.4 - Read and Write Groupings
11.5 - Considerations
[next] [previous] [contents] [full-page]

WASD offers a comprehensive and versatile authentication and authorization environment.  A little too comprehensive, often leaving the new administrator wondering where to begin.  The role of this chapter is to provide a starting place, especially for sources of authentication, along with some basic configurations.  12 - Authentication and Authorization contains a detailed explanation of all aspects.  All examples here assume a standard installation and environment. 

Just to clarify.  Authentication is the verification of a user's identity, usually through username/password credentials.  Authorization is allowing a certain action to be applied to a particular path based on that identity. 


11.1 - SYSUAF/Identifier Authentication

This setup allows any active account to authenticate using the local VMS username and password.  By default not every account may authenticate this way, only those holding specified VMS rights identifiers.  See 12.9.1 - Rights Identifiers.  The examples provided in this section allows access to the WASD server administration menus, and so may be followed specifically for that purpose, as well as serve as a general guide. 


After Changes

If the HTTPD$AUTH configuration file is changed, or rights identifiers are granted or revoked from accounts, the server should be directed to reload the file and purge any cached authorization information. 

  $ HTTPD/DO=AUTH=LOAD
  $ HTTPD/DO=AUTH=PURGE


11.2 - SYSUAF Authentication

The use of rights identifiers (described above) is strongly recommended.  However if this is impractical for some reason, an alternative setup allows any active, non-privileged account to authenticate using the server system VMS username and password. 

NOTE

To also allow privileged accounts to authenticate via the SYSUAF with this configuration change the logical definition as follows. 
  $ DEFINE /SYSTEM HTTPD$STARTUP_SERVER "/SYSUAF=RELAXED"

This is not a recommended configuration
Using VMS identifiers is a far better solution.  See previous section. 



11.3 - Other Authentication

Other sources of authentication are available, either by themselves or used in the same configuration file (different realms and paths) as those already discussed.  See 12.4 - Authorization Sources.  Non-SYSUAF sources do not require any startup qualifier to be enabled. 


11.4 - Read and Write Groupings

WASD allows separate sources for groups of usernames to control read and write access in a particular realm.  See 12.5 - Realm, Full-Access, Read-Only.  These groups may be provided via simple lists, VMS identifiers, HTA databases and authorization agents.  The following example shows an identifier authenticated realm with full and read-only access controlled by two simple lists.  For the first path the world has no access, for the second read-only access (with the read-only grouping becoming basically redundant information). 

  ["Realm Name"=identifier_name=id;full_access_name=list;read-only_name=list]
  /web/area/* r+w ; 
  /web/another-area/* r+w ; r


11.5 - Considerations

Multiple authentication sources (realms) may be configured in the one HTTPD$AUTH file. 

Multiple paths may be mapped against a single authentication source. 

Any path may be mapped only once (for any single virtual service). 

Paths may have additional access restrictions placed on them, including client host name, username, etc.  See Access Restriction List

The configuration file is loaded and stored by the server at startup.  If changed it must be reloaded to take effect.  This can be done manually using

  $ HTTPD/DO=AUTH=LOAD

Authentication information is cached.  Access subsequently removed or modified will not take effect until the entry expires, or is manually purged using

  $ HTTPD/DO=AUTH=PURGE

Failed attempts to authenticate against a particular source are limited.  When this is exceeded access is always denied.  If this has happened the cache must be manually purged before a user can successfully authenticate

  $ HTTPD/DO=AUTH=PURGE


[next] [previous] [contents] [full-page]