Project

General

Profile

Access configuration-40 » History » Version 2

Mark Clarkstone, 2014-04-18 12:18

1 1 Mark Clarkstone
h1. Access configuration
2
3
!access39383.png!
4
5
When Tvheadend verifies access it scans through 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.
6
7
*The access rules are listed / edited in a grid.*
8
9
* 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.
10
* 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 'Enabled' box and then press [Save changes] to activate the new entry.
11
* 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.
12
13
*The columns have the following functions:*
14
15
* *Enabled*
16
Make the entry participate in access control. If disabled, the entry is inactive.
17
18
* *Username*
19
Name of user, if no username is needed for match it should contain a single asterix (*).
20
21
* *Password*
22
Password to combine with user, if username is '*' (unused), the password should be the same.
23
24
* *Prefix*
25
IPv4 prefix for matching based on source IP address. If set to 0.0.0.0/0 it will match everything. Also accepts a comma separated list of addresses.
26
27
* *Streaming*
28
Enables access to streaming function. The 'streaming' access is enough to make Showtime (over HTSP) work.
29
30
* *All Configs (VR)*
31
Enables access to all video recording functions. This also include administration of the auto recordings.
32
33
* *Web interface*
34
Required for web user interface access. Also gives access to the EPG.
35
36
* *Admin*
37
Enables access to the Configuration tab.
38
39
* *Comment*
40
Allows the administrator to set a comment only visible in this editor. It does not serve any active purpose.
41
42
h2. An example
43
44
!accessusers39383.png!
45
46
The Admin account has access to everything but is accessible from the local network only.
47
The Guest account has access to the streaming functions and the web interface and is accessible locally as well as externally.
48
The Local account has access to everything except the administration functions and is only accessible locally.
49
50
It is possible to have an anonymous user (*) but this can sometimes cause problems with authentication. For example, say you have two accounts: a guest account and an anonymous user account, the anonymous user account will take precedence regardless of the username and password used because it matches anything.
51
52
Tvheadend will not ask you to enter a username and password when an anonymous account is enabled. You can however specify the username and password when accessing the web interface, e.g. http://user:pass@tvheadend provided your browser supports it. 
53
54
{{lastupdated_at}} by {{lastupdated_by}}.