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. It is an example of the use of principle of least privilege in defensive programming. 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.

A known example of privilege bracketing is in Debian/Ubuntu: using the 'sudo' tool to temporarily acquire 'root' privileges to perform an administrative command.[1] A Microsoft Powershell equivalent is "Just In Time, Just Enough Admin".[2]

## See also

* Privilege revocation (computing)

## References

1. ↑ "Linux 101: Introduction to sudo". 12 May 2010. https://www.linux.com/training-tutorials/linux-101-introduction-sudo/.
2. ↑ "JitJea: A Windows PowerShell Toolkit to Secure a Post-Snowden World". https://channel9.msdn.com/Events/TechEd/NorthAmerica/2014/DCIM-B362.

0.00

(0 votes)

Original source: https://en.wikipedia.org/wiki/Privilege bracketing. Read more

|

Retrieved from "https://handwiki.org/wiki/index.php?title=Privilege_bracketing&oldid=3375322"