Ambient authority

Short description: Term used in the study of access control systems

Ambient authority is a term used in the study of access control systems.

A subject, such as a computer program, is said to be using ambient authority if it only needs to specify the names of the involved object(s) and the operation to be performed on them in order for a permitted action to succeed. [1][2][3]

In this definition,

* a "name" is any way of referring to an object that does not itself include authorising information, and could potentially be used by any subject;
* an action is "permitted" for a subject if there exists any request that that subject could make that would cause the action to be carried out.

The authority is "ambient" in the sense that it exists in a broadly visible environment (often, but not necessarily a global environment) where any subject can request it by name.

For example, suppose a C program opens a file for read access by executing the call:

open("filename", O_RDONLY, 0)

The desired file is designated by its name on the filesystem, which does not by itself include authorising information, so the program is exercising ambient authority.

When ambient authority is requested, permissions are granted or denied based on one or more global properties of the executing program, such as its identity or its role. In such cases, the management of access control is handled separately from explicit communication to the executing program or process, through means such as access control lists associated with objects or through Role-Based Access Control mechanisms. The executing program has no means to reify the permissions that it was granted for a specific purpose as first-class values. So, if the program should be able to access an object when acting on its own behalf but not when acting on behalf of one of its clients (or, on behalf of one client but not another), it has no way to express that intention. This inevitably leads to such programs being subject to the Confused deputy problem.

The term "ambient authority" is used primarily to contrast with capability-based security (including object-capability models), in which executing programs receive permissions as they might receive data, as communicated first-class object references. This allows them to determine where the permissions came from, and thus avoid the Confused deputy problem. However, since there are additional requirements for a system to be considered a capability system besides avoiding ambient authority, "non-ambient authority system" is not just a synonym for "capability system".

Ambient authority is the dominant form of access control in computer systems today. The user model of access control as used in Unix and in Windows systems is an ambient authority model because programs execute with the authorities of the user that started them. This not only means that executing programs are inevitably given more permissions (see Principle of least privilege) than they need for their task, but that they are unable to determine the source or the number and types of permission that they have. A program executing under an ambient authority access control model has little option but to designate permissions and try to exercise them, hoping for the best. This property requires an excess of permissions to be granted to users or roles, in order for programs to execute without error.

## References

1. ↑ Miller, Mark S.; Yee, Ka-Ping; Shapiro, Jonathan (2003). Capability Myths Demolished. http://www.cs.umd.edu/~jkatz/security/downloads/capability-myths.pdf.
2. ↑ Donnelley, Jed (6 October 2004). "[cap-talk] ... enforcement - ambient authority - definition?". cap-talk (Mailing list). Archived from the original on 2013-04-14. Retrieved June 28, 2012.
3. ↑ Tribble, Dean (5 December 2002). "Re: [e-lang] "Capability Myths Demolished" => ambient authority revisited". e-lang (Mailing list). Retrieved June 28, 2012.+ambient+authority+revisited&rft.date=2002-12-05&rft.aulast=Tribble&rft.aufirst=Dean&rft_id=http://zesty.ca/zest/out/msg00139.html&rfr_id=info:sid/handwiki.org:Ambient+authority" class="Z3988">

* v
* t
* e

Object-capability security

Concepts|

* Principle of least authority (POLA)
* Confused deputy problem
* Ambient authority
* File descriptor
* C-list
* Object-capability model
* Capability-based security
* Capability-based addressing
* Zooko's triangle
* Petnames

OS kernels|

* Hydra
* NLTSS
* KeyKOS
* EROS
* CapROS
* iMAX 432
* Midori
* seL4
* Genode
* Fuchsia

Programming languages|

* Joule
* E
* Joe-E
* Cajita

Filesystems|

* Tahoe-LAFS

Specialised hardware|

* Plessey System 250
* Cambridge CAP
* IBM System/38
* Intel iAPX 432

0.00

(0 votes)

|

Retrieved from "https://handwiki.org/wiki/index.php?title=Ambient_authority&oldid=242946"
*[v]: View this template
*[t]: Discuss this template
*[e]: Edit this template