From Surf Wiki (app.surf) — the open knowledge base
Access-control list
List of permissions for a system resource
List of permissions for a system resource
In computer security, an access-control list (ACL) is a list of permissions associated with a system resource (object or facility). An ACL specifies which users or system processes are granted access to resources, as well as what operations are allowed on given resources.{{cite IETF | access-date = May 19, 2023 Each entry in a typical ACL specifies a subject and an operation. For instance,
- If a file object has an ACL that contains, this would give Alice permission to read and write the file and give Bob permission only to read it.
- If the Resource Access Control Facility (RACF) profile CONSOLE CLASS(TSOAUTH) has an ACL that contains, this would give ALICE permission to use the TSO CONSOLE command.
Implementations
Many kinds of operating systems implement ACLs or have a historical implementation; the first implementation of ACLs was in the filesystem of Multics in 1965.
Filesystem ACLs
A filesystem ACL is a data structure (usually a table) containing entries that specify individual user or group rights to specific system objects such as programs, processes, or files. These entries are known as access-control entries (ACEs) in the Microsoft Windows NT, OpenVMS, and Unix-like operating systems such as Linux, macOS, and Solaris. Each accessible object contains an identifier to its ACL. The privileges or permissions determine specific access rights, such as whether a user can read from, write to, or execute an object. In some implementations, an ACE can control whether or not a user, or group of users, may alter the ACL on an object.
One of the first operating systems to provide filesystem ACLs was Multics. PRIMOS featured ACLs at least as early as 1984.
In the 1990s the ACL and role-based access control (RBAC) models were extensively tested and used to administer file permissions.
POSIX ACL
POSIX 1003.1e/1003.2c working group made an effort to standardize ACLs, resulting in what is now known as "POSIX.1e ACL" or simply "POSIX ACL". The POSIX.1e/POSIX.2c drafts were withdrawn in 1997 due to participants losing interest for funding the project and turning to more powerful alternatives such as NFSv4 ACLs. , no live sources of the draft could be found on the Internet, but it can still be found in the Internet Archive.
Most of the Unix and Unix-like operating systems (e.g. Linux since 2.5.46 or November 2002,{{cite web |url= https://access.redhat.com/site/documentation/en-US/Red_Hat_Enterprise_Linux/3/html/Release_Notes/as-x86/index.html
NFSv4 ACL
NFSv4 ACLs are much more powerful than POSIX draft ACLs. Unlike draft POSIX ACLs, NFSv4 ACLs are defined by a published standard, as part of the Network File System.
NFSv4 ACLs are supported by many Unix and Unix-like operating systems. Examples include AIX, FreeBSD, Mac OS X beginning with version 10.4 ("Tiger"), or Solaris with ZFS filesystem, support NFSv4 ACLs, which are part of the NFSv4 standard. There are two experimental implementations of NFSv4 ACLs for Linux: NFSv4 ACLs support for Ext3 filesystem and the more recent Richacls, which brings NFSv4 ACLs support for Ext4 filesystem. As with POSIX ACLs, NFSv4 ACLs are usually stored as extended attributes on Unix-like systems.
NFSv4 ACLs are organized nearly identically to the Windows NT ACLs used in NTFS. NFSv4.1 ACLs are a superset of both NT ACLs and POSIX draft ACLs. Samba supports saving the NT ACLs of SMB-shared files in many ways, one of which is as NFSv4-encoded ACLs.
Active Directory ACLs
Microsoft's Active Directory service implements an LDAP server that stores and disseminates configuration information about users and computers in a domain. Active Directory extends the LDAP specification by adding the same type of access-control list mechanism as Windows NT uses for the NTFS filesystem. Windows 2000 then extended the syntax for access-control entries such that they could not only grant or deny access to entire LDAP objects, but also to individual attributes within these objects.
Networking ACLs
On some types of proprietary computer hardware (in particular, routers and switches), an access-control list provides rules that are applied to port numbers or IP addresses that are available on a host or other layer 3, each with a list of hosts and/or networks permitted to use the service. Although it is additionally possible to configure access-control lists based on network domain names, this is a questionable idea because individual TCP, UDP, and ICMP headers do not contain domain names. Consequently, the device enforcing the access-control list must separately resolve names to numeric addresses. This presents an additional attack surface for an attacker who is seeking to compromise security of the system which the access-control list is protecting. Both individual servers and routers can have network ACLs. Access-control lists can generally be configured to control both inbound and outbound traffic, and in this context they are similar to firewalls. Like firewalls, ACLs could be subject to security regulations and standards such as PCI DSS.
SQL implementations
ACL algorithms have been ported to SQL and to relational database systems. Many "modern" (2000s and 2010s) SQL-based systems, like enterprise resource planning and content management systems, have used ACL models in their administration modules.
Schema-indexed ACLs
In 2024, schema-indexed ACL models emerged as a lightweight alternative to traditional JSON-based permission storage. One notable proposal introduced the idea of storing only the indexes of allowed operations, rather than full permission trees. This technique, later formalized as SCode ACL, allows compact encoding of access rights (e.g., "0 2 5") based on a predefined flattened schema, making it particularly efficient for use in stateless systems such as JWT tokens or session cookies. The approach gained early traction in developer communities for its minimalism and performance, and has since been adopted in both small-scale and production-grade systems.
Comparing with RBAC
The main alternative to the ACL model is the role-based access-control (RBAC) model. A "minimal RBAC model", RBACm, can be compared with an ACL mechanism, ACLg, where only groups are permitted as entries in the ACL. Barkley (1997) showed that RBACm and ACLg are equivalent.
In modern SQL implementations, ACLs also manage groups and inheritance in a hierarchy of groups. So "modern ACLs" can express all that RBAC express and are notably powerful (compared to "old ACLs") in their ability to express access-control policy in terms of the way in which administrators view organizations.
For data interchange, and for "high-level comparisons", ACL data can be translated to XACML.
Notes
References
References
- Richard E. Smith. "Elementary Information Security".
- (1965). "A general-purpose file system for secondary storage". ACM Press.
- (2009-09-11). "Managing Authorization and Access Control". [[Microsoft Learn]].
- (1984-05-21). "P.S.I. Pacer Software, Inc. Gnet-II revision 3.0". Computerworld.
- "POSIX Access Control Lists on Linux".
- "Why was POSIX.1e withdrawn?".
- (February 28, 1999). "Summary about Posix.1e".
- (2011-09-12). "NFSv4 ACLs". [[FreeBSD]].
- (2009-10-01). "Chapter 8 Using ACLs and Attributes to Protect ZFS Files". [[Oracle Corporation]].
- Grünbacher, Andreas. (May 2008). "Native NFSv4 ACLs on Linux". [[SUSE S.A..
- Grünbacher, Andreas. (July–September 2010). "Richacls – Native NFSv4 ACLs on Linux". bestbits.at.
- "ACLs".
- "Mapping Between NFSv4 and Posix Draft ACLs".
- "vfs_nfs4acl_xattr(8)".
- (7 June 2024). "[MS-ADTS]: Active Directory Technical Specification".
- Swift, Michael M.. (November 2002). "Improving the granularity of access control for [[Windows 2000]]". ACM Transactions on Information and System Security.
- J. Barkley (1997) "[http://citeseerx.ist.psu.edu/viewdoc/summary?doi=10.1.1.107.6366 Comparing simple role based access control models and access control lists]", In "Proceedings of the second ACM workshop on Role-based access control", pages 127-132.
- G. Karjoth, A. Schade and E. Van Herreweghen (2008) "[http://www.acsac.org/openconf2008/modules/request.php?module=oc_program&action=view.php&id=73 Implementing ACL-based Policies in XACML]", In "2008 Annual Computer Security Applications Conference".
This article was imported from Wikipedia and is available under the Creative Commons Attribution-ShareAlike 4.0 License. Content has been adapted to SurfDoc format. Original contributors can be found on the article history page.
Ask Mako anything about Access-control list — get instant answers, deeper analysis, and related topics.
Research with MakoFree with your Surf account
Create a free account to save articles, ask Mako questions, and organize your research.
Sign up freeThis content may have been generated or modified by AI. CloudSurf Software LLC is not responsible for the accuracy, completeness, or reliability of AI-generated content. Always verify important information from primary sources.
Report