-

Network Security: Authentication with User Role and Password

This topic contains the following sections:

User roles with PLCnext Technology controllers

Note
If the controller provides an embedded OPC UA server, the OPC server-client-communication is separately secured by a server certificate. Refer to the chapter "OPC UA server configuration".

To prevent unauthorized access to the controller, i.e., to protect the controller configuration and operation mode, user roles with specified access rights can be defined for PLCnext Technology controllers. To increase the protection level against manipulation, the user roles (and the rights assigned to each role) are not defined in the PLCnext Engineer system but directly on the controller via the WBM (Web Based Management) interface.

The user role with which you log on to the controller defines the (type of) operations you are allowed to perform on the controller.

Further Info
The topic "Security Settings of the Controller (via WBM)" provides further information on the necessary steps for adding/editing user roles in the controller.

List of exemplary, pre-defined user roles and access rights

Possibilities for logging on/off

There is a logon/logoff command available in the context menu of the controller icon in the PLANT as well as in the controller Cockpit:

If you perform an operation which requires to be logged-on to the controller while you are logged-off (such as the 'Connect' or 'Write and Start' command), the authentication mask appears automatically.

To log on, enter a user name (which corresponds to a particular user role with specific access rights) and the relating password into the authentication mask. While being logged on, you can change the user role via the 'Switch User' command in the context menu of the controller node or the Cockpit. See procedures below.

Note
Make sure that the user role you are entering provides suitable access rights for the intended operations.

Storing user credentials for controller logon

The combination of user name and password for logging on to the controller can be stored on your PC.

Stored user names are offered for selection in a drop-down list when the same Windows user is logging on to the controller the next time. After selecting a user name from the list in the LOGIN mask, the relating password is automatically filled in. (An automatically filled-in password is followed by the string "Password from Password Manager".)

Note
Stored user names are only available and related passwords are only filled-in for the same Windows user on the same PC and for the same secure device to be logged on.

For storing your credentials, mark the checkbox 'Remember credentials' in the LOGIN mask (and in the CHANGE PASSWORD mask) before pressing <Enter> or clicking the log-on button:

The following applies:
PLCnext Engineer allows to delete all user name/password combinations stored for your Windows account:
  1. Select 'Extras > Options'.
  2. In the 'Options' dialog, open the category 'Administration | Password Manager' and click the 'Delete' button.

Shield symbol in PLANT indicates logon state

The shield symbol beside the controller icon in the PLANT indicates the logon state:

 (black)logged off from the controller
 (green) logged on to the controller
"Unsecured" connection, after an authentication error occurred during connection establishment and you have instructed PLCnext Engineer to establish the connection nevertheless.
See section "Accepting a rejected controller certificate..." for details.

Note the following:

While the simulation mode is active in PLCnext Engineer (the controller simulation is set as target in the Cockpit instead of the real controller), the PLANT node "Simulation" is visible instead of the controller node. The shield icon beside the node is different from the shield icon which indicates a controller connection:

Security settings

As PLCnext Technology controllers implement a secure device concept, the section 'IT security' editor is available in the controller's 'Settings' editor.

  1. Double-click the controller in the PLANT to open its properties in the editors area.
  2. In the editors area, open the 'Settings' editor.

Example

In the current version, the security settings are read-only and indicate the implemented security protocol, the authentication method as well as the security version.

TLS security protocol

What do you want to do?

How to define/edit a user role and password for the controller

How to log on to the controller (logon = connect)

How to switch the user role

How to change the password of the user currently logged on at the controller

How to log off from the controller (logoff = disconnect)