Questions tagged [acl]

An access control list (ACL), with respect to a computer file system, is a list of permissions attached to an object.

An access control list (ACL) specifies which users or system processes are granted access to objects, as well as what operations are allowed on given objects. Each entry in a typical ACL specifies a subject and an operation.

When a subject requests an operation on an object in an ACL-based security model the operating system first checks the ACL for an applicable entry to decide whether the requested operation is authorized. A key issue in the definition of any ACL-based security model is determining how access control lists are edited, namely which users and processes are granted ACL-modification access. ACL models may be applied to collections of objects as well as to individual entities within the system hierarchy.

Benefits of ACLs include:

  • easy to implement
  • easy to understand
  • extremely fine-grained: down to the user and the resource

Drawbacks of ACLs include:

  • too fine-grained and thus too hard to manage. The ACL management is on a per-object level
  • not context-aware: ACLs do not take time, location, or other attributes into consideration
  • doesn't scale: ACLs only work on a small set of objects and users.

Other access control models include and which aim to address the shortcomings of .

More information can be found on Wikipedia's definition of access control lists.

2775 questions
10
votes
2 answers

Why can't I set the ACL for a User to read: false + write:false?

I'm trying to create a new user via the REST API, and want the object to be accessible (read+write) only to the user that created it. If I create the user without setting an ACL, setting only the username/password, it automatically gets "Public…
Aaron
  • 1,031
  • 10
  • 17
10
votes
4 answers

Persisting Zend Framework ACL Lists

Does the Zend Framework (or applications built using Zend_Application) provide any mechanism for persisting ACL lists, or is that detail left to the individual system/application developer? Most of the examples I see online involve setting up your…
Alana Storm
  • 164,128
  • 91
  • 395
  • 599
9
votes
2 answers

Role-based authorization mechanism for a GAE app

I'm looking for a role-based framework/module/package for an app written in Python (2.7) running on Google App Engine. With role-based I mean a mechanism that would allow me to check (during a request processing most of the time) whether a certain…
alex
  • 2,450
  • 16
  • 22
9
votes
5 answers

ASP.NET MVC 3 Intranet site on IIS7.5 w Windows Authentication gives 401.3 and File authorization failed for the request when trying to log in

I have made an ASP.NET MVC 3 Intranet site with Windows Authentication enabled: in the Visual Studio project file properties in the web.config, i.e. on the site properties in the IIS 7.5. server Anonymous access is…
9
votes
3 answers

Symfony2: Storing users, roles, role hierarchy, and access controls in database

I've been working with Symfony (2.x) for the first time and I had some questions regarding the definition of roles, role hierarchy, and how they can be assigned to individual users. I was interested in storing the roles and role hierarchy in a…
zeitgeist
  • 199
  • 1
  • 2
  • 7
9
votes
1 answer

Pyramid ACL without traversal

I really have little idea how ACL do work. I know it's pretty cool and could save me lots of time and pain. But currently i'm a bit lost. All example for pyramid do use traversal. I exclusively use URL Dispatch. I'm not sure to understand how I can…
Loïc Faure-Lacroix
  • 13,220
  • 6
  • 67
  • 99
9
votes
1 answer

Elastic Beanstalk Environment Creation Error due to disabled ACLs in S3 bucket

I am creating a new Elastic Beanstalk environment using command line with the eb create command in a region I haven't targeted before (us-east-2). As a result, the Elastic Beanstalk process created a new S3 bucket. However, the process failed with…
GoldenCave
  • 166
  • 8
9
votes
1 answer

Problem deploying with Web Deploy and ACLs

I'm deploying a web application to my host using Web Deploy. When run from Visual Studio using the Publish command it works fine. When I try to deploy using web deploy from MSBuild the website becomes inaccessible and even the web control panel of…
John Mills
  • 10,020
  • 12
  • 74
  • 121
9
votes
1 answer

Recursively set permissions on folders using Powershell?

I have a directory which I want to go through recursively and set permissions on all the folders. So the order of operations should be: Remove all ACL from folder Add ACL to folder Set ACL I tried the below code, but I am getting the…
xaisoft
  • 3,343
  • 8
  • 44
  • 72
9
votes
3 answers

Deny READ of specific repository branches with gitolite

What I'm trying to achieve is the following: coworkers are in group @coworkers, clients are in group @clients. The Git repo shall be available to read and write for everyone, but there shall be special branches. i.e. I create a new branch "intern"…
Uncle Joe
  • 91
  • 1
  • 2
9
votes
3 answers

How do large sites accomplish row-level permissions?

So I am making a small site using cakephp, and my ACL is set up so that every time a piece of content is created, an ACL rule is created to link the owner of the piece of content to the actual content. This allows each owner to edit/delete their…
JayD3e
  • 2,147
  • 3
  • 21
  • 30
9
votes
2 answers

Implementing ACL for my PHP application

My RealEstate PHP Application have following user groups, Admins, Moderators Agents i want to specify following permission to the following users. Admins - > Can Create Moderators, Can Create Agents, Can Insert Properties, Can Update…
Ibrahim Azhar Armar
  • 25,288
  • 35
  • 131
  • 207
9
votes
2 answers

How to implement ACL / role based authorization with angular 2?

What is the best way to implement ACL / paper-based with angular 2? My scenario, in a nutshell, is this: The roles are dynamic and are based on the permissions that the client can configure that can also be dynamic. I need to prevent the user from…
fxcosta
  • 91
  • 2
  • 6
9
votes
1 answer

Find out WHO made the last change to files by Powershell?

I have a shared network location for all users saving files. All users have full access to this location. Is that possible to find out WHO made the last change to a file or folder by Powershell or any other way? There is no issue to get all those…
Root Loop
  • 3,004
  • 9
  • 46
  • 72
9
votes
2 answers

Any good examples/references implementing ACLs via SQL?

I currently have a web-application that implements a rudimentary form of ACL using UNIONs in mysql, but it's somewhat limited, and doesn't necessarily scale that well I'm interested in any alternative ACL algorithms that could be implemented…
FilmJ
  • 2,011
  • 3
  • 19
  • 27