Manual Page Viewer
Section: Authorization Tags
When passed FILENAME, sets the default authorization database file to be that fully qualified pathname. When passed an empty FILENAME, returns the current pathname of the authorization database.
The default authorization database used is the standard Meta-HTML PowerStrip database. Note that authorizing based on this method does not log the user into the PowerStrip system, it simply authenticates them against that database.
If TYPE is set to "Meta-HTML" (the default), then the database is assumed to be a standard Meta-HTML/GDBM database, with a key value of the username, and a field called PASSWORD. The password field will be decoded as a unix based password.
If TYPE is set to "Unix", then the authorization database is treated as if it were a standard Unix password file (/etc/passwd).
If TYPE is set to anything else, then it is assumed to be one of the valid SQL database types for your Meta-HTML installation, and FILENAME is treated as the DSN to use to talk to that database. The table which is searched is called AUTH, and it must contain username and password fields.
The META-HTML Reference Manual V2.0 Copyright © 1995, 1998, Brian J. Fox
Found a bug? Send mail to email@example.com