liveBook · Manning

Attribute

As explained in Software Security for Developers

An attribute is a piece of information describing a user, resource, or environmental context that can be evaluated in an access-control rule.

An attribute is information about a user, resource, or environment that an access-control rule can evaluate. Examples include department, clearance, document owner, sensitivity, request time, IP address, and device type. section 17.1.2

Attribute-based access control (ABAC) grants access when attributes satisfy conditions, such as matching a user’s department to a document’s department or meeting a clearance requirement. This supports fine-grained, context-aware decisions instead of broad, predefined roles. section 17.1.2 section 17.3

Common attribute-driven decisions include:

Multiple attributes in one decision

A document rule grants access when the user has top clearance or belongs to the US region. Mary passes through clearance, John through region, and Bob is denied because neither condition matches. section 17.1.2

Attributes can enforce least privilege by granting access only when the relevant conditions match. Their flexibility also increases policy complexity; overly specific role-based alternatives can create role explosion and become difficult to manage or audit. section 17.1.2 section 17.3

How Software Security for Developers covers it

How deep it goes
Defines attributes, lists their forms, and demonstrates rule evaluation, but stops short of implementation details.
Examples
Uses department, clearance, region, ownership, sensitivity, time, IP address, and device type in access rules.
What it assumes
Assumes basic familiarity with authorization and roles while defining attributes and ABAC from the beginning.
What you can do after
Evaluate/understand it by distinguishing attribute-based conditions from fixed roles and recognizing context-aware access rules.
How it connects
Connects attributes to ABAC, RBAC, authorization, role explosion, and least privilege.

Also explained in

Compare how 26 books explain attribute →

Related concepts

This explainer was generated by Manning's knowledge graph from the text of Software Security for Developers. The section links point to the parts of the book it draws on.