Join our Newsletter — 33% off our NHI Course
Authentication, Authorisation & Trust

Function Security

← Back to Glossary
By NHI Mgmt Group Updated November 25, 2026 Domain: Authentication, Authorisation & Trust

Function security is access control based on application functions rather than just data records. It assigns users or roles permission to run specific menus, pages, actions, or processes, so administrators can separate duties and restrict what an identity can do within a system.

What Function Security Actually Controls

Function security is about controlling what a user or role can do inside an application, not just what data they can see. It is the layer that separates access to menus, pages, workflows, and administrative actions, so the same identity may be allowed to view records but blocked from approving, exporting, deleting, or configuring them.

That distinction matters because many application risks are not data-read risks at all. They are action risks, where an identity with the right screen access can trigger business-impacting processes, change configuration, or bypass separation of duties even when record-level controls are in place.

How Function Security Differs From Record-Level Access

Record-level access decides which rows, objects, or transactions are visible. Function security decides whether the person can reach the function that performs the action. In practice, both layers are often used together, because a system can safely hide sensitive records and still be unsafe if the same role can run privileged functions on the records it can reach.

This is why function security is often part of a broader authorization model. It usually sits alongside roles, privileges, and duties, but its unit of control is the business function itself. That makes it especially useful for systems with complex menus, approval steps, and administrative consoles.

When function security is designed well, it helps prevent overly broad roles from becoming operationally dangerous. When it is designed poorly, organisations may end up with users who technically have "read-only" data permissions but can still invoke actions that change state, initiate transfers, or alter security settings.

Where Function Security Is Most Important

Function security is most valuable in applications where the same interface exposes both routine user tasks and sensitive operational controls. Typical examples include finance, HR, ERP, case management, clinical systems, and internal admin portals, where separate functions may exist for viewing, approving, posting, exporting, or reconfiguring data.

It is also important in environments that rely on role design and separation of duties. If a role can both create and approve the same transaction, or both administer and use a control path, function security becomes the enforcement point that keeps those duties distinct.

For cloud-native and serverless applications, the same idea still applies even when the implementation looks different. Security teams may need to think in terms of callable actions, endpoints, and operator functions rather than classic menu items, especially where privileged operations are exposed through APIs or admin consoles.

Why Misconfigured Function Security Becomes a Security Problem

Function security fails when sensitive actions inherit broad default access, when custom roles are too permissive, or when one control is assumed to cover another. The result is usually not subtle, it is an authorization gap that lets a legitimate identity perform an action it should never have been able to invoke.

That gap can be abused for fraud, operational sabotage, privilege escalation, data alteration, or unauthorized administrative change. In mature environments, the failure is often caused less by a missing control than by role sprawl, weak testing of edge cases, or exceptions that were never reviewed after the application changed.

For a practical reference point on how this kind of action scoping is handled in real systems, SvelteKit Security Guide and PostgreSQL Security Guide both show how action-level authorization and least privilege need to be enforced, not assumed.

Standards & Framework Alignment

This section maps relevant standards and security frameworks to the operational risks and controls described in this guidance.

NIST SP 800-53 Rev 5, NIST CSF 2.0 and OWASP ASVS set the governance and control requirements practitioners need to meet.

FrameworkControl / ReferenceRelevance
NIST SP 800-53 Rev 5AC-6 — Least PrivilegeFunction security limits what each role can invoke within an application.
AC-5 — Separation of DutiesFunction security commonly enforces incompatible duties through function-level restrictions.
AC-3 — Access EnforcementFunction security is an application enforcement point for allowing or denying specific actions.
Recommendation — Restrict users to only the application functions required for their duties. Split sensitive actions across distinct roles and block conflicting function combinations. Enforce authorization at the function level for every privileged action.
NIST CSF 2.0PR.AA-05 — Identity and Access Management, AuthorizationAuthorization must govern which functions an identity can perform.
Recommendation — Map each sensitive function to an explicit authorization rule and review it regularly.
OWASP ASVSV8 — AuthorizationASVS requires application authorization to protect sensitive functions and actions.
Recommendation — Verify that each protected function checks authorization server-side before execution.

Practitioner Guidance

Why practitioners should care: Function security is often where business risk becomes executable, because a single overbroad privilege can turn an ordinary user into someone who can approve, alter, export, or disable critical functions. Treat it as an authorization design problem, not as a cosmetic UI setting.

Common misunderstanding: Teams sometimes assume that if record access is restricted, the application is safe. In reality, function-level permissions and data-level permissions solve different problems, and both need to be reviewed whenever roles, workflows, or administrative features change.

Governance implication: Owners should define which functions are business-critical, which roles may invoke them, and which combinations violate separation of duties. That makes access reviews more meaningful than checking whether a role merely exists.

Practitioner takeaway: If a function can change state, change privilege, or trigger an irreversible business action, it deserves explicit access design, testing, and periodic recertification rather than default inheritance.

Free weekly newsletter

Subscribe to the NHI & AI Identity Journal

The latest on NHI and Agentic AI security – articles, research, breaches, news and events every week.

Bonus 33% off our NHI Course when you subscribe.

NHIMG Editorial Note
Reviewed and updated by the NHIMG editorial team on November 25, 2026.
NHI Mgmt Group — the #1 independent authority on Non-Human Identity, IAM, and Agentic AI security. nhimg.org