Case & CodeA FIELD GUIDE TO AI
Start learning
Intermediate

Least privilege

Also: least-privilege

In plain words

Giving a system only the access it needs for the job, and nothing more.

The fuller definition

Least privilege means granting only the access needed for the authorized task, for the necessary scope and duration.

How it fits together
  1. Task

    Summarize five files

  2. Access

    Read those files only

  3. Excluded

    Unneeded actions and data

A simplified relationship, not a screenshot or a complete design.

A concrete example

A document-summary workflow gets read access to selected records without access to email sending or deletion.

The distinction that matters

Smaller access scope reduces consequences of errors; it does not make generated content accurate.

Related terms

Where it is taught

Test an AI workflow on work you can assess

Source and further reading

OWASP · Prompt injection

The definition and example are written for this library. The link gives background, official documentation or legal authority as labelled. Legal scope depends on the jurisdiction and current text; product features depend on release and settings.

Lessons, terms, practical guides and sources ESC