encyclopegia.org

Privilege bracketing

In computer security, privilege bracketing is a temporary increase in software privilege within a process to perform a specific function, assuming those necessary privileges at the last possible moment and dismissing them as soon as no longer strictly necessary, therefore ostensibly avoiding fallout from erroneous code that unintentionally exploits more privilege than is merited.[src] It is an example of the use of principle of least privilege in defensive programming.[src] The principle of least privilege, on which the technique is based, is defined by the U.S.[src] National Institute of Standards and Technology as designing a security architecture "so that each entity is granted the minimum system resources and authorizations that the entity needs to perform its function".[src]

In computer security, privilege bracketing is a temporary increase in software privilege within a process to perform a specific function, assuming those necessary privileges at the last possible moment and dismissing them as soon as no longer strictly necessary, therefore ostensibly avoiding fallout from erroneous code that unintentionally exploits more privilege than is merited.[src] It is an example of the use of principle of least privilege in defensive programming.[src] The principle of least privilege, on which the technique is based, is defined by the U.S.[src] National Institute of Standards and Technology as designing a security architecture "so that each entity is granted the minimum system resources and authorizations that the entity needs to perform its function".[src] ==Difference== It should be distinguished from privilege separation, which is a much more effective security measure that separates the privileged parts of the system from its unprivileged parts by putting them into different processes, as opposed to switching between them within a single process.[src] ==Example== A known example of privilege bracketing is in Debian/Ubuntu: using the 'sudo' tool to temporarily acquire 'root' privileges to perform an administrative command.[src] A Microsoft Powershell equivalent is "Just In Time, Just Enough Admin".[src] ==See also== Privilege revocation (computing) ==References==[src]

12 sentences · 12 cited inline · 0 references stored

References

No reference rows published for this article.

Cite this article

MLA

"Privilege bracketing." encyclopegia.org, 2026, https://encyclopegia.org/wiki/privilege-bracketing. Accessed 25 November 2026.

Chicago

"Privilege bracketing." encyclopegia.org. Accessed November 25, 2026. https://encyclopegia.org/wiki/privilege-bracketing.

APA

encyclopegia.org. (2026). Privilege bracketing. Retrieved November 25, 2026, from https://encyclopegia.org/wiki/privilege-bracketing

Accessed November 25, 2026 · CC BY-SA 4.0 · citation page · JSON

Related articles

final cut privilege

stub · references available

physician-patient privilege

stub · references available

Diploma privilege

stub · references available

Jester's privilege

stub · references available

Phylogenetic bracketing

stub · references available

Privilege of Parliament Act 1603

stub · references available

Privilege of competency

stub · references available
CC BY-SA 4.0 · share-alike · https://en.wikipedia.org/w/index.php?oldid=1367469063 · 0.5 · snapshot enwiki-001367469063

Cite · JSON · Search

Related services and records

Services

  • Estate — measured countries, lanes and facts
  • Intel — live corroborated events
  • Legal — statutes, cases and citations
  • Encyclopedia — articles with inline sources
  • Space — launches, satellites and orbits
  • Search — federated search and reports
  • Pass — passport account and SSO
  • Corpora — read-only corpus origins
  • e01 — self-hosted corpora and tools

Text and metadata only; each target carries its own sources. Missing data is published as no-data, never estimated.