Niagara 4 security: categories, roles, users and nav files
Access control in Niagara 4: categories, roles with operator and admin permissions, user accounts and password policy, and nav files for home pages.
Every Niagara station needs a sensible security setup. Operators should be able to see and adjust what they’re responsible for, engineers need full access, and nobody should be sharing the admin account. Niagara 4 handles this with three pieces that work together: categories, roles and users.
Categories: grouping what’s protected
Categories are labels you assign to parts of the station: HVAC, lighting, metering, admin, or one per building on a multi-tenant site. They’re defined in the Category Service, and the Category Browser lets you assign them across the station tree.
Components inherit their parent’s categories unless you set them otherwise. So assign categories high up (on a building folder, a driver network or a services container) and let them flow down, rather than tagging individual points.
Roles: what each kind of user may do
A role defines permissions for each category, at two levels:
- Operator level covers day-to-day things such as viewing values, changing setpoints and running overrides
- Admin level covers configuration, such as changing limits, editing logic and adding components
At each level there are three permissions: read, write and invoke (run actions). So a role might give an FM operator read, write and invoke at operator level on the HVAC category, read-only on metering, and nothing at all on admin.
A small, clear set of roles works best, for example:
- Viewer: read-only across the site
- Operator: operator-level control of the systems they look after
- Engineer: full access for the service contractor
- Admin: user and station administration, held by very few people
Put them in your station template so every site starts the same.
Users
Each person gets their own user account in the User Service, with one or more roles assigned. Don’t share accounts. Individual logins mean you can see who changed what in the audit log, and remove one person’s access without disturbing anyone else.
Other things to set on each user:
- password policy: strength, expiry and lockout after failed attempts
- account expiry for temporary users, such as a commissioning engineer or a contractor working on site for a month
- default web profile, which controls how the user sees the station in a browser
- nav file and home page, covered below
Super-user rights should be kept for very few accounts. Test every role by logging in as a typical user of that role, because it’s the only way to know they can do what they need and nothing more.
For station-to-station connections, such as a supervisor talking to its JACEs, use dedicated service accounts with only the permissions those connections need, not a person’s login.
Nav files
A nav file defines a user’s home page and, optionally, a navigation menu. You create nav files in the station’s files and assign one to each user (or to many users) in the User Service.
The important thing to understand: a nav file is a convenience, not a security control. It decides where users start and what menu they see, but what they can actually open and change is decided by their roles and categories. A user who knows a link can still reach anything their permissions allow.
In Niagara 4, hierarchies usually do the heavy lifting for navigation, so nav files are often kept simple: mainly a sensible home page for each type of user. Operators land on the site overview; engineers might land on a diagnostics page.
Good practice
- Change every default credential, and remove any test or demo accounts before handover.
- Give each person their own account, with the least access their job needs.
- Review users regularly, at least yearly and whenever a contractor or member of staff leaves.
- Record who holds admin rights, and make sure the client owns at least one admin account.
- Combine this with network security: no direct internet exposure, a VPN for remote access, and up-to-date software. See BMS cyber security basics.