Helix Universal Proxy authentication provides a way for you to control what or who can access your Helix Universal Proxy, a colleague perusing Helix Administrator, or a user requesting content streamed by Helix Universal Proxy. With this feature, you can configure Helix Universal Proxy to require a valid user name and password before allowing a client to access a particular URL.
To limit visitors to Helix Universal Proxy via bandwidth, connection volume, or IP address, use the methods described in Chapter 9 and Chapter 10.
Authentication verifies the identity of users that send requests to Helix Universal Proxy. The verification comes in the form of asking for a name and password. To receive requests on behalf of clients, Helix Universal Proxy requires an accounting channel between the requesting client and itself. Helix Universal Proxy uses the accounting channel to request and receive authentication information.
You can require authentication for:
Authentication is a feature also used by some Helix Universal Servers. As a result, some users may be asked more than once for a user name and passwordonce by Helix Universal Proxy, and once by the Helix Universal Server. In each case, a username and a password is determined as stored by that particular Helix Universal Proxy and Helix Universal Server.
RealPlayer versions 3 and earlier do not work with authentication and may display an error message. RealPlayer 4 through RealOne Player supports user authentication.
The following are factors in deciding to use this feature:
The authentication feature uses two main components to validate user information and check associated permissions:
You must use databases and realms to require authentication in both Helix Universal Proxy areas: for Helix Administrator users, and for individual users requesting content.
Authorized users (administrators or users making media requests) are stored in separate databases. Helix Universal Proxy uses a flat file database structure in its default configuration. For large-scale implementations of authentication, Helix Universal Proxy supports ODBC and MS SQL- compliant, and mSQL databases.
The following table explains the flat file databases automatically installed with Helix Universal Proxy.
| Note: Refer to "Authentication Data Storage" for details on the database structure. |
Authentication realms provide a way to associate databases with a protocol to encrypt their username, passwords, and other information. When you configure a realm, you associate a database with this realm and Helix Universal Proxy references this database to verify a user's credentials.
When you create or edit a realm, you specify the following information:
The default realms conform to the following format:
|
You do not have to use this convention, but you must include a period (.) in the realm ID or the realm will not work properly.
The installation process automatically creates the following authentication realms. The following table explains these realms, and their default settings on Helix Universal Proxy:
Authentication protocols determine the password encryption method used by Helix Universal Proxy. The proxy supports three protocols for encrypting user passwords:
When using NTLM authentication, you need to be aware of the following:
| Note: This method is only available to systems using Windows NT, and Windows 2000 and requires that Helix Universal Proxy itself be installed on the Windows NT or Windows 2000 machine. |
At installation, Helix Universal Proxy is configured to prompt for a user name
and password for a Helix Administrator user. As stated earlier, the information
you enter is added to the Admin_Basic database which is associated with the
SecureAdmin realm.
Helix Universal Proxy identifies incoming requests to access Helix
Administrator by the protected path /admin that is in the URL request. It
automatically prompts for a user name and password and verifies them
against the information in the SecureAdmin realm that points to the
Admin_Basic database.
You'll need to make informed decisions when modifying the SecureAdmin
realm. Doing otherwise can remove your access to Helix Administrator.
| To add user names for Helix Administrator authentication using the supplied realm: |
SecureAdmin. | Tip: Optionally, you can set up a separate database and realm from the one supplied by Helix Universal Proxy during installation. In this case, refer to "Authenticating Users Requesting Content". |
You need to set up Helix Universal Proxy if you decide to authenticate users trying to access Helix Universal Proxy to deliver either on-demand or live content. When you set up and customize authentication, you must perform the necessary steps in the correct order or authentication will not work. As you are planning your authentication model, remember the DRA (Database- Realm-Authentication) method:
Helix Universal Proxy includes templates for common database formats. To learn more about database structure and how to use Helix Universal Proxy's database templates, refer to "Understanding Authentication Data".
Any database that contains user information that you want Helix Universal Proxy to use to validate credentials must exist in the Helix Universal Proxy database list. If you plan to use the default flat file database, you simply need to verify that the setup procedure created this database and it exists in Helix Universal Proxy's database list. If you are using an ODBC, MS SQL or mSQL database, you must add it to the Helix Universal Proxy database list.
| To verify a default database: |
| To add a new database: |
Use the instructions below to choose the name and type of database that will store users' names and passwords.
| Note: If you're using an ODBC or mSQL database, refer to "Setting Up Other Types of Data Storage" in Appendix C to ensure you've correctly configured your database before you add it to Helix Universal Proxy. |
Flat File needs only the path to the main text file directory. For example, the con_r_db directory under the main Helix Universal Proxy directory. See "Understanding Authentication Data".
mSQL has two required names, and three optional items:
ODBC uses the same information as mSQL, but ODBC does not ask for a Host Name. (Refer to "Setting Up Other Types of Data Storage" for further instructions.)
A realm contains information about the type of authentication protocol and
the database where the authenticated users' names will be stored. To set up a
realm for Helix Universal Proxy users, you can either use the default realm
ConnectRealm, or you can create a new one.
To use the default realm, ConnectRealm:
|
| To create a new realm: |
Helix Universal Proxy has three methods of authenticating the identity of visitors. Each realm can use only one authentication method.
You will also need to select a database in which the names and passwords of authenticated users will be stored; refer to "Setting up Databases". In addition, these passwords are encrypted. To change them, refer to "Changing RealSystem 5.0 Authentication Passwords".
This method is only available to systems using Windows NT, Windows 2000 and requires that Helix Universal Proxy itself be installed on either a Windows NT or Windows 2000 Server. For authenticating content, it also requires a Web browser and RealNetworks RealOne Player or RealPlayer.
Complete these last three steps if you're using Basic or RealSystem 5.0 as an authentication protocol.
To set up authentication in Helix Universal Proxy, you need to turn on the feature, and decide which realm and database to use with authentication. Optionally, you can select sites all users are allowed to visit and allow users to view content from more than one location.
| To enable authentication: |
Yes.| To pick a realm: |
| To choose a database: |
Connect_RN5.If you have set up another database, select that name here. If the realm you selected is using Windows NTLM as an authentication protocol, select None.
In this step you choose the sites which all users are allowed to visit without having to supply a user name and password.
| To set up permitted sites: |
Note:
Use only one asterisk. For example, *.*.com is not
allowed.
|
If you want a user to be able to use more than one client and view content
from more than one location, set Allow Duplicate IDs to Yes. You can also use
this option as a method of limiting access to groups. For example, you could
set Allow Duplicate IDs to Yes and assign all marketing employees one user
name and password, then the entire department could then use this account
to view content.
Normally, when Allow Duplicate IDs is set to No, a user can view a given clip
from only one computer at a time. If a user tries to log in from a second
computer and view the same content, he or she will receive an error message.
The user must log out at the first location before being permitted to log in at
the second location. Users will still be able to view different content even
though they are logged in at different locations.
| To allow users to view a clip from more than one location or to permit more than one person to use a single account: |
Yes.Use the following instructions to manage the list of authorized users for any type of authentication.
If you are adding a user to a new database, you must add that database and associate it with the proper realm using Helix Administrator before you add a user to realm. Refer to "Setting up Databases" for more information.
| Note: If you are using Windows NTLM to manage the list of users, passwords, and groups, use Windows NT User Manager or other utilities instead of the instructions below. |
| To add a user name and password: |
SecureAdmin.If you have set up another Realm for this purpose, select that name here.
ConnectRealm. If you have set up another Realm, for this purpose, select that name here.
| Tip: Keep track of the passwords you assign. Helix Administrator allows you to change passwords, but not to look them up. |
The following procedure explains how to delete a user from a database. Helix Administrator does not have a bulk delete feature.
| To remove a user: |
The browsing feature lists all user names defined for an authentication realm.
| To browse all users: |
The following procedure explains how to change the password for an existing user. The Helix Administrator interface does not allow you to look up existing passwords.
| To change a password: |
When you use the RealSystem 5.0 authentication protocol, Helix Universal
Proxy stores all passwords in an encrypted format. Passwords can be entered
and changed through Helix Administrator. If you want to change the
passwords manually, without using Helix Administrator, you can use the
supplied password command line utility mkpnpass. It is located in the Helix
Universal Proxy Bin directory.
You can also use these instructions as a basis for writing your own CGI scripts and Web pages to accomplish the same purpose automatically.
| To use the password tool manually: |
mkpnpass username realm |
username is the user name exactly as it is entered and will be stored in the authentication database or text file.
realm is the value of the Realm variable specified in the relevant list.
For Helix Administrator users, use the value of the Realm variable in the RealAdministrator_Files list within the FSMount list in the configuration file. (You must open the configuration file itself to see this value.)
The resulting encrypted password is displayed on the screen.
Helix Universal Proxy encrypts passwords with the MD5 hashing algorithm. It uses the form MD5("username:realm:new_password"). On BSD systems and some other UNIX systems, you can generate these passwords with the following command:
echo -n " |
User directory (see "Users Directory"). |
|
© 2002 RealNetworks, Inc. All rights reserved.
For more information, visit RealNetworks Click here if the Table of Contents frame is not visible at the left side of your screen. |