Authorization File Format |
Top Previous Next |
An authorization file contains a list of user names and passwords plus up to two optional data fields which are accessed via the AUTHUSER, AUTHPW, and AUTHDATA script commands.
Each line of the file contains up to four comma-delimited fields. The format of the file is:
<user name>,<password>,<data>,<data>
Blank lines, leading spaces, and tabs are ignored. Lines whose first non-space character is a pound-sign (#) are comments and are ignored. Commas may not appear within any of the fields -- they are delimiters only.
This file is simple text and may be created with the FileLink Script File Editor or any text editor. The default authorization file name used by FileLink is "authorization.txt" but you may specify a different file name in any of the authorization commands.
Consider the following example where three user name and passwords have been allowed for. In this example, the first data field is the home directory of the particular user and the second data field is a unique greeting to be sent to the user. Note that the data fields are optional and the last entry does not contain a greeting.
# daily dial in authorization file # <user name>,<password>,<home directory>,<greeting> robtjones,lillypad,\users\robtjones,Good morning Robert stanman,museum,\users\stanford ind,Thanks for your business cindyc,ad67d338,\users\cindyc
Note that the passwords are stored in clear text in the authorization file. Obviously, this is not a completely secure method of user authorization -- if a more secure method of authorization is desired then an external user-written program run with the EXEC script command is recommended.
|