This chapter describes the data storage methods which can be used with the authentication feature.
To authenticate visitors, the Helix Universal Proxy stores user IDs and passwords. When a client makes a request for media, Helix Universal Proxy looks up this information to see whether the client or visitor is authorized. The information can be stored in either a series of text files or in a database. Templates for common databases are installed during installation.
This section describes the methods for storing user name and password data. Templates for common databases are created during installation, that correspond to the database methods listed in "Setting up Databases".
The default configuration uses the text file storage method to provide storage for both default realms.
The following directories contain the text files which store data. The center
letter indicates the authentication protocol: r is for RN5, b is for Basic.
| Directory Name | Data Storage for the following type of information |
|---|---|
| adm_b_db | Helix Administrator User Authentication |
| con_r_db | Connection Authentication |
The contents of the directories are given in the table below.:
When Helix Universal Proxy creates the file structure, it creates the ppvbasic.txt file. The second and subsequent times you start the Helix Universal Proxy, the program looks for this file. If the file does not exist, it recreates the directory structure.
| Warning! Do not delete the ppvbasic.txt file! If you delete the ppvbasic.txt file, Helix Universal Proxy will rewrite the directories and will erase their prior content. |
The files in this directory are named username, where username is the user
name. This directory contains one file per registered user.
The first line of each file has the following format:
password;uuid;uuid_writeable |
password |
When user authentication is in use, this stores the password. Otherwise shows an asterisk (*). Note: Passwords are encrypted. To change them manually, see "Changing RealSystem 5.0 Authentication Passwords". |
uuid |
In player validation, stores playerID. In user authentication, an asterisk (*) appears in this field. |
uuid_writeable |
A flag set and used by Helix Universal Proxy: 0 playerID is in database 1 record created, but playerID is not yet registered |
Note:
If you manually edit the files, be sure that any blank (or
unused) fields use an asterisk (*) as a placeholder. Do not use a
space for a placeholder.
|
This directory contains access.txt, which is not created until authentication is enabled and the first user connects to Helix Universal Proxy.
Each line of access.txt describes the result of an attempt to view a clip. Syntax of this file:
status;userid;uuid;ip;url;access_type;permission_on;start_time;end_time;total_time; |
This section describes the structure of the ODBC, MS SQL and mSQL database templates included with Helix Universal Proxy.
To set up the database on Windows and UNIX, see "Setting Up Other Types of Data Storage".
The database templates include these tables:
Gives the list of user names and passwords.
| Field | Description |
|---|---|
userid |
User name of up to 50 characters. Ties to permissions table. |
password |
In user authentication, this stores the password. Otherwise blank. Note: Passwords are encrypted. To change them manually, see "Changing RealSystem 5.0 Authentication Passwords". |
uuid |
In player validation, stores clientID. In user authentication, an asterisk (*) appears in this field. |
uuid_writeable |
A flag set and used by Helix Universal Proxy: 0 clientID is in the database1 the record has been created but the clientID is not yet registered with Helix Universal Proxy. |
Shows which restricted sites have been accessed.
| To set up your Windows computer for ODBC compliance: |
| Note: You must now tell Helix Universal Proxy where to find your database. Refer to "Setting up Databases". |
| To set up the supplied mSQL database on UNIX: |
./msql2d & |
& starts mSQL in the backround.
./msqladmin create databasename |
Note:
Whatever you type for databasename needs to match the
database cited in Security>User Databases.
|
./bin/msql -h localhost databasename < |
authdemo is /Database/msql/authdemo.db, in Helix Universal Proxy's installation directory.
| Note: Be sure to include the less-than sign (<). |
|
|
© 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. |