L-VIS User Manual
289
LOYTEC
Version 6.2
LOYTEC electronics GmbH
15 Advanced Topics
This chapter discusses some of the more advanced topics.
15.1 Access Control
Access control is organized in 16 levels. Pages and input controls can be assigned a
minimum access level required to view the page or enter data on an input control. Any
access level higher than the specified minimum level automatically grants access to the
protected object.
To reach a specific access level, there are a number of possible options:
Switching to a page which cannot be viewed at the current access level will
automatically bring up a system page where a PIN code can be entered in order to
increase the access level and access the page. See also the note below.
On a normal project page, or a dedicated login page, a numeric input control can
be placed to allow the user to write a PIN code value to the system register called
PIN Code Enter
. Any value written to this register will be interpreted as a PIN
code and the system will try to log the user in using this code. If none of the
defined access levels has a matching PIN code, the access level is set to 0 (log
out). To construct a suitable control, make sure to set the input value range to
0000-9999 and check the
Password Input Keypad
option.
Using a data point connector, a PIN code can be received from the network and
forwarded to the
PIN Code Enter
register to allow remote login using a PIN code.
The desired access level may be set directly by writing a value between 0 and 15
to the system register called
Access Level
. This is less useful if allowed from a
control on a project page, but may be convenient if there is an external access
controller in the network, where the user was already authenticated (for example
using an RFID card). The access controller can communicate the successful
authentication over the network to the L-VIS device, where a suitable access
level can be set directly, without using a PIN code.
NOTE:
If the user was automatically redirected to the login page, due to insufficient access rights
for the page he wanted to view, any write to the PIN Code Enter register will not only
evaluate the PIN and adjust the access level, but will also either forward the user to the
desired page (access granted), or return to the page he came from (access denied). This
ensures that the user does not get stuck on the login page, in case he is not able to enter a
valid PIN code.
For security reasons, it is possible to change the PIN code for each level by writing the new
PIN code to the respective
PIN code Set
register. There is one register for each of the access