You are here: Helix Administrator > Security > User Databases > Database Templates

Database Templates

This section describes the structure of the database templates included with Helix Mobile Server. To set up the database, see "Database Set-Up". The database templates include these tables:

Users Table

Together with the permissions table, contains the lists of who is registered and with what access.

Permissions Table

Linked to the users table, lists specific clips and directories and the permissions associated.

Register_Log Table

Used if player validation is in use, it tracks the clientID.

Redirect Table

Used in player validation only.

Access_Log Table

Used by the commerce feature.

Users Table

Gives the list of user names and passwords.

Users Table

Field

Description

userid

User name of up to 50 characters. Ties to permissions table.

password

In user authentication, this stores the password. Otherwise blank. Passwords are encrypted.

uuid

In player validation, stores clientID. In user authentication, an asterisk (*) appears in this field.

uuid_writeable

A flag set and used by Helix Mobile Server:
0–client ID is in the database
1–the record has been created but the client ID is not yet registered with Helix Mobile Server.

 

Permissions Table

Linked to the users table through the userid, this identifies the specific clips or directories and the type of access for each.

Permissions Table

Field

Description

userid

User name of up to 50 characters. Ties to Users table.

url

URL of secure directory or clip.

url_type

Whether URL is directory or clip:
0–clip
1–directory.

permission_type

Permission type associated with access.

expires

Permission expiration date and time, in format MM/DD/YYYY:HH:MM:SS. Used only if permission_type is 1 (dated). Otherwise blank.

debitted_time

If permission_type = 2 (countdown), this is the number of seconds remaining. If permission_type=3 (countup), this is the number of seconds of material the visitor has viewed. Otherwise, it is blank.

 

Register_Log Table

The register_log table is used only if player validation is in use (indicated by UseGUIDValidation=True).

Register_log Table

Field

Description

status

Result of user's attempt to connect:
0–Success
1–Failed (client ID not readable)
2–Failed (client ID already used)
3–Failed (RealAudio Player 3 or earlier)
4–No user (Must be entered previously in the database)
5–General failure

userid

Unique name of up to 50 characters.

uuid

Stores clientID.

ip

IP address from which user is attempting to connect.

request_time

Time of connection request.

url_redirect

If connection failed, URL to which user was redirected (see Redirect Table, above).

 

Redirect Table

The redirect table is only used in player validation.

Redirect Table

Field

Description

url

URL of any secure clip or directory.

url_redirect

URL to which users could be redirected to if they are not allowed access to that clip. New URL must not be a secure URL.

 

Access_Log Table

Used by the commerce feature to show which secure content has been accessed.

Access_Log Table

Field

Description

status

Result of user's attempt to connect:
0–access to clip granted
1–denied

userid

Unique name of up to 50 characters.

uuid

Stores player ID.

ip

IP address from which user is attempting to connect.

url

Secured clip user is attempted to access.

permission_type

Permission type associated with access. See the table "Permission Types" for values.

permission_on

Permission type associated with url:
0–file (individual clip)
1–directory
2–none

start_time

Time/date clip started playing.

end_time

Time/date clip stopped playing.

total_time

Total time clip played.

why_disconnect

Reason for disconnection:
0–client disconnected voluntarily
1–server access expired

 

 


Helix Universal Mobile Server Version 14.2 Online Help
Revision Date: Tuesday, March 15, 2011
©2011 RealNetworks, Inc., http://www.realnetworks.com