21
You can create an access file with any text editor. The filename must be qtaccess and the file
must follow this format:
AuthName <message>
AuthUserFile <user filename>
AuthGroupFile <group filename>
require user <username1> <username2>
require group <groupname1> <groupname2>
Anything not in angled brackets is a keyword. Anything in angled brackets is information
you supply.
m “Message” is text your users see when the login window appears. It’s optional.
If your message contains any white space (such as a space character between terms),
make sure you enclose the entire message in quotation marks.
m “User filename” is the path and filename of the user file. The default is
/etc/streaming/qtusers.
m “Group filename” is the path and filename of the group file. The default is
/etc/streaming/qtgroups. A group file is optional. If you have a lot of users you may
find it easier to set up one or more groups, then enter the group names, rather than
list each user.
m “Username” is a user who is authorized to log in and view the media file. The user’s name
must be in the user file you specified. You can also specify “valid-user,” which designates
any valid user.
m “Groupname” is a group whose members are authorized to log in and view the media file.
The group and its members must be listed in the group file you specified.
Additional user tags
This section describes additional tags you can add to the qtaccess file.
m “valid-user”
“Valid-user” is any user defined in the qtusers file.
The statement “require valid-user” specifies that any authenticated user in the qtusers file
can be given access to the media files. If this tag is used, the server will prompt users to
enter an appropriate user name and password to view the media.
m “any-user”
“Any-user” allows users to view media without being authenticated. If the statement
“require any-user” is used, any user can have access; no name or password is required.
Kommentare zu diesen Handbüchern