Project

General

Profile

Access configuration » History » Version 1

Christoffer Bergkvist, 2012-08-02 10:50

1 1 Christoffer Bergkvist
h1. Access configuration
2
3
Setting up access control is an important initial step as the system initially is wide open. 
4
5
!accessconfig.png!
6
7
When Tvheadend verifies access is scan thru all the enabled access control entries. The permission flags are combined for all matching access entries. An access entry is said to match if the username / password matches and the IP source address of the requesting peer is within the prefix.
8
9
*The access rules are listed / edited in a grid.*
10
11
* To edit a cell, double click on it. After a cell is changed it will flags one of its corner to red to indicated that it has been changed. To commit these changes back to Tvheadend press the 'Save changes' button. In order to change a Checkbox cell you only have to click once in it.
12
* To add a new entry, press the 'Add entry' button. The new (empty) entry will be created on the server but will not be in its enabled state. You can now change all the cells to the desired values, check the 'enable' box and then press 'Save changes' to activate the new entry.
13
* To delete one or more entries, select the lines (by clicking once on them), and press the 'Delete selected' button. A popup will ask you to confirm your request.
14
15
*The columns have the following functions:*
16
17
* *Enabled*
18
Make the entry participate in access control. If disabled, the entry is inactive.
19
20
* *Username*
21
Name of user, if no username is needed for match it should contain a single asterix (*).
22
23
* *Password*
24
Password to combine with user, if username is '*' (unused), the password should be the same.
25
26
* *Prefix*
27
IPv4 prefix for matching based on source IP address. If set to 0.0.0.0/0 it will match everything.
28
29
* *Streaming*
30
Enables access to streaming function. The 'streaming' access is enough to make Showtime (over HTSP) work.
31
32
* *Video Recorder*
33
Enables access to all video recording functions. This also include administration of the auto recordings.
34
35
* *Web interface*
36
Required for web user interface access. Also gives access to the EPG.
37
38
* *Admin*
39
Enables access to the Configuration tab.
40
41
* *Comment*
42
Allows the administrator to set a comment only visible in this editor. It does not serve any active purpose.
43
44
h2. An example
45
46
!accessconfigexample.png!
47
48
First line gives clients originating from 192.168.0.0 - 192.168.0.255 network access to streaming functions. Typically you would use this for your local media players at home (All though Showtime can prompt for username & password in its HTSP client)
49
50
The second line adds a user with world wide access who might want to modify recordings, etc, perhaps from the job, or mobile phone.
51
52
The third line provide admin access to the 'admin' user. As an extra precaution this user is only allowed to log in from the home network.
53
54
{{lastupdated_at}} by {{lastupdated_by}}.