Controlling Access to Streamed Media

You can set up authentication to control client access to streamed media files. Two schemes of authentication are supported: basic and digest. By default, the server uses the more secure digest authentication.

You can also control playlist access and administrator access to your streaming server. Authentication does not control access to media streamed from a relay server. The administrator of the relay server must set up authentication for relayed media.

The ability to manage user access is built into the streaming server, so it is always enabled.

For access control to work, an access file must be present in the directory you selected as your Media Directory. If an access file is not present in the streaming server media directory, all clients are allowed access to the media in the directory.

To set up access control:

1Use the qtpasswd command-line utility to create new user accounts with passwords.

2Create an access file and place it in the media directory that you want to protect.

3If you want to disable authentication for a media directory, remove the access file (called qtaccess) or rename it (for example, qtaccess.disabled).

Creating an Access File

An access file is a text file called qtaccess that contains information about users and groups who are authorized to view media in the directory in which the access file is stored. The directory you use to store streamed media can contain other directories, and each directory can have its own access file. When a user tries to view a media file, the server checks for an access file to see whether the user is authorized to view the media. The server looks first in the directory where the media file is located. If an access file is not found, it looks in the enclosing directory. The first access file that’s found is used to determine whether the user is authorized to view the media file.

The access file for the streaming server works like the Apache web server access file.

You can create an access file with any text editor. The filename must be qtaccess and the file can contain some or all of the following information:

AuthName <message> AuthUserFile <user filename> AuthGroupFile <group filename> require user <username1> <username2> require group <groupname1> <groupname2> require valid-user

require any-user

40 Chapter 2

Page 40
Image 40
Apple QuickTime Streaming Server Darwin Streaming Server Controlling Access to Streamed Media, Creating an Access File

QuickTime Streaming Server Darwin Streaming Server specifications

Apple QuickTime Streaming Server, also known as Darwin Streaming Server, is a pivotal technology in the realm of multimedia streaming. Developed by Apple Inc., this open-source server software is designed specifically for the efficient delivery of video and audio content over the internet. One of the standout features of Darwin Streaming Server is its capability to stream content using the QuickTime file format, which is widely adopted for rich media applications.

A core characteristic of Darwin Streaming Server is its support for the Real-Time Streaming Protocol (RTSP). This protocol enables the server to communicate effectively with user clients, ensuring smooth playback of multimedia content. RTSP also allows for advanced streaming capabilities, such as pause, rewind, and fast forward, providing users with a versatile viewing experience.

Darwin Streaming Server is built on a highly modular architecture that enhances its scalability and flexibility. It can easily handle multiple simultaneous streams, making it suitable for both small-scale projects and large-scale broadcast environments. The server can efficiently manage bandwidth, optimizing the delivery of content even during peak usage times.

Another notable feature of Darwin Streaming Server is its robust integration with Appleā€™s QuickTime technology. This compatibility enables the seamless distribution of interactive media, which is crucial for applications in education, entertainment, and corporate training. The server can stream both live and on-demand audio and video content, catering to a diverse audience.

Additionally, Darwin Streaming Server supports various streaming formats, including MP3 and AAC for audio and H.264 for video. This flexibility allows content creators to deliver high-quality media while maintaining compatibility with various devices and platforms, from desktop computers to mobile devices.

Security is another important aspect of Darwin Streaming Server. It supports encryption protocols, ensuring that sensitive content is protected during transmission. This is particularly valuable for organizations that need to secure proprietary content or deliver private media to specific audiences.

In conclusion, Apple QuickTime Streaming Server, or Darwin Streaming Server, stands out as a powerful tool for multimedia streaming. Its integration of RTSP, compatibility with QuickTime, modular architecture, and robust security features make it an ideal choice for businesses and content creators looking to deliver high-quality streaming experiences. Whether used for live broadcasts or on-demand content, Darwin Streaming Server remains a significant contributor to the evolution of online media delivery.