The default configuration uses the text file storage method to provide storage for all default realms. The following directories contain the text files which store data. The center letter indicates the authentication protocol. For example, b is for Basic.
|
Directory Name |
Access Type |
|
adm_b_db |
Helix Administrator users. |
|
cdi_b_db |
Content distribution subscribers requesting content. |
|
con_r_db |
Users requesting clips or broadcasts. |
|
enc_b_db |
RealNetworks encoders delivering live streams. |
|
enc_w_db |
Windows Media Encoder delivering live streams. |
|
plm_b_db |
External Web portals adding and deleting playlists. |
|
|
|
The following table describes the contents of these directories.
|
Directory |
Contents |
File or Directory Description |
|
main directory |
The text file indicates that this is the storage area for the list of authenticated names. |
|
|
guids |
(initially blank) |
For player validation, files connect the clientID with a user name. |
|
logs |
See below for a description of these files. |
|
|
redirect |
(initially blank) |
For player validation, files contain an URL to which to send the client if redirection is necessary. |
|
users |
(initially blank) |
Files in this directory list the clips and permission types. |
|
|
||
The actual data storage text files do not exist when
Warning: Do not delete the ppvbasic.txt file! If you delete the ppvbasic.txt file,
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 and is different than subsequent lines in the file:
password;uuid;uuid_writeable
|
Field |
Description |
|
password |
When user authentication is in use, this stores the password. Otherwise shows an asterisk (*). Passwords are encrypted. See "Password Tool". |
|
uuid |
In player validation, stores playerID. In user authentication, an asterisk (*) appears in this field. |
|
uuid_writeable |
A flag set and used by |
|
|
|
The second and subsequent lines of each file have the following format. For further detail on allowable values in each field, see table "Permission Types":
url;url_type;permission_type;expires;debited_time
|
Field |
Description |
|
url |
URL of secure directory or clip. |
|
url_type |
Whether URL is directory or clip: |
|
permission_type |
Permission type associated with access. |
|
expires |
If permission_type is 1, this is the expiration date/time, in format MM/DD/YYYY:HH:MM:SS. Otherwise blank. |
|
debited_time |
If permission_type is 2, this is time remaining in seconds. If permission_type is 3, this is the number of seconds of material the visitor has viewed. Otherwise, it is blank. |
|
|
|
The example file, user1, has the following content, when player validation is in use:
*;00001d00-0901-11d1-8b06-00a024406d59;0
Secure/clip1.rm;0;0;*;*
Secure/directory;1;0;*;*
Secure/time.rm;0;2;*;300;*
Secure/time.rm;0;1;05/24/1970:06:12:32;300;*
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.
The files in this directory are given the names of the unique client IDs from the registered clients, one per registered user. Each file contains only the name of the associated user name. For example, a file such as 00001d00-0901-11d1-8b06-00a024406d59 contains the name of the user, user1.
This directory contains two files: reglog.txt and accesslog.txt.
Each line of reglog.txt represents the result of an attempt to register a visitor. This file has the following format:
status;userid;uuid;IP;register_time;url_redirect
|
Field |
Description |
|
status |
Result of user's attempt to connect: |
|
userid |
Unique name of up to 50 characters. |
|
uuid |
client ID. |
|
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.txt). |
|
|
|
Each line of accesslog.txt describes the result of an attempt to view a clip. This file is not created until authentication is enabled and the first user attempts to connect:
status;userid;uuid;ip;url;access_type;permission_on;start_time;end_time; total_time;why_disconnect
|
Field |
Description |
|
status |
Result of user's attempt to connect: |
|
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. |
|
access_type |
Permission type associated with access. See the table "Permission Types" for values. |
|
permission_on |
Permission type associated with URL: |
|
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: |
|
|
|
Used only in player validation, the redirect directory contains files named after URLs that are restricted from unauthorized users. Within each file is the alternate URL to which Helix Mobile Server sends the user if he or she tries to click the restricted URL. If no files are present in this directory, and the user attempts to click a URL to which he or she has not been given access, the user receives an error message.
Because certain characters that appear in URLs are illegal in file names, Helix Mobile Server requires a substitution for these illegal symbols.
|
Character |
Replacement Sequence |
|
/ |
+2f |
|
\ |
+2b |
|
+ |
+5c |
|
|
|
For example, the URL Secure/TopSecret.rm would be converted to Secure+2fTopSecret.rm. The URL within each file, however, is represented normally.