278

Accessing Protected Media

Users must have QuickTime 5 or later to access a media file for which digest authentication is enabled. If your streaming server is set up to use basic authentication, users need QuickTime 4.1 or later. Users must enter their user names and passwords to view the media file. Users who try to access a media file with an earlier version of QuickTime will see the error message 401: Unauthorized.

Adding User Accounts and Passwords

You can add a user account and password if you log in to the server computer.

To add a user account:

1Enter the following:

$ sudo qtpasswd -fuser filename user-name

2Enter a password for the user and reenter it when prompted.

Adding or Deleting Groups

You can edit the /Library/QuickTimeStreaming/Config/qtgroups file with any text editor as long as it follows this format:

groupname: user-name1 user-name2 user-name3

For Windows, the path is c:\Program Files\Darwin Streaming Server\qtgroups. For other supported platforms, it is /etc/streaming/qtgroups.

To add or delete a group, edit the group file you set up.

Making Changes to the User or Group File

You can make changes to the user or group file if you log in to the server computer.

To delete a user from a user or group file:

1Log in to the server computer as administrator, and use a text editor to open the user or group file.

2Delete the user name and encrypted passwords line from the user file.

3Delete the user name from the group file.

To change a user password:

1Enter the following:

$ sudo qtpasswd user-name

2Enter a new password for the user. The password you enter replaces the password in the file.

Chapter 16 Working with QuickTime Streaming Server

Page 278
Image 278
Apple Mac OS X Server manual Accessing Protected Media, Adding User Accounts and Passwords, Adding or Deleting Groups