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
12
votes
6 answers

Web.Config - Cannot read configuration file due to insufficient permissions

I am getting the error: Module IIS Web Core Notification Unknown Handler Not yet determined Error Code 0x80070005 Config Error Cannot read configuration file due to insufficient permissions Config File \\?\C:\inetpub\wwwroot\web.config The…
Sugitime
  • 1,818
  • 4
  • 23
  • 44
12
votes
3 answers

Security component from Symfony 2.0 as standalone

I'm trying to add Symfony 2.0 ACL to my frameworkless PHP application. Because of the lack of documentation on how to use Security component as standalone I've got totally confused and I've got stucked with questions: What class to include first?…
Marina982
  • 131
  • 6
11
votes
1 answer

Checking folder/file ntfs permissions using python

As the question title might suggest, I would very much like to know of the way to check the ntfs permissions of the given file or folder (hint: those are the ones you see in the "security" tab). Basically, what I need is to take a path to a file or…
shylent
  • 10,076
  • 6
  • 38
  • 55
11
votes
4 answers

How to use class-scope aces in Symfony2?

I've got a problem with class-scope aces. I've created an ace for a class like this : $userIdentity = UserSecurityIdentity::fromAccount($user); $classIdentity = new ObjectIdentity('some_identifier', 'Class\FQCN'); $acl =…
Stefk
  • 111
  • 1
  • 4
11
votes
1 answer

spring-security how ACL grants permissions

I'm currently integrating springs-security into our new web application stack. We will need to be able to grant permissions for a user or role to access a specific object or all objects of a certain type. However that's one thing I didn't really get…
Pete
  • 10,720
  • 25
  • 94
  • 139
11
votes
1 answer

How to check wheter POSIX ACL is enabled for a given path

After reading the man page of getfacl / setfacl I could not find an obvious/robust/elegant method to check whether acl is enabled for a given path in (ba)sh. Any suggestions?
Mr. Mr.
  • 2,786
  • 3
  • 19
  • 12
11
votes
3 answers

Why are "weird" TCP ports required for my AWS ECS app to pull from ECR?

I am using ECS with NLB in front. ECS is pulling images from ECR. The thing I cannot understand is why does ECS require me to open all TCP ports to be able to pull from ECR? 2 621567429603 eni-0f5e97a3c2d51a5db 18.136.60.252 10.0.12.61 443 55584 6…
Jiew Meng
  • 84,767
  • 185
  • 495
  • 805
11
votes
1 answer

How should ACL work in a REST API?

A REST API is written in ExpressJs 4.x.x / NodeJS. Let's assume an interface : app.delete('/api/v1/users/:uid', function (req, res, next) { ... } So with that interface users can be deleted. Let's assume there are 2 Customers in the system, and…
Schemiii
  • 346
  • 4
  • 15
11
votes
2 answers

Is there a library compatible with Hapi for fine-grained ACL / User permissions?

Looking to use HapiJS as our API server. We need fine-grained user permissions, e.g. "User A can edit field B" "User C can view field D" for a given model / resource. Before we start building something I've been looking to see if something like…
Adamski
  • 3,585
  • 5
  • 42
  • 78
11
votes
3 answers

Passing Parameters to sails.js policies

Sails.js (0.9v) controllers have policies defined as: RabbitController: { '*': false, nurture : 'isRabbitMother', feed : ['isNiceToAnimals', 'hasRabbitFood'] } is there a way to pass params to these acls eg: RabbitController:…
Arif
  • 315
  • 2
  • 10
11
votes
4 answers

How to prevent an app from being killed in task manager?

I'm working on a parental control app (written in WPF) and would like to disallow anybody (including administrator) to kill my process. A while back, I found the following code online and it almost works perfectly, except that it doesn't work…
newman
  • 6,841
  • 21
  • 79
  • 126
10
votes
1 answer

Rails ACL Using Modified Preorder Tree Traversal

Is there a Rails ACL plugin/gem that uses MPTT (Modified Preorder Tree Traversal) as the technique to administer permissions? I'm looking for ACL that will allow me to create roles, assign users to one or many roles, set permissions at the role…
Brandon Cordell
  • 1,308
  • 1
  • 9
  • 24
10
votes
1 answer

Symfony2 ACL and pager/multiple entities filtering

I've seen examples of ACL to deal with one entity but none to deal with fetching multiple items - such as a list of posts that belong to an author. One (bad) suggestion was to fetch all the items and then filter using acl - not going to work when…
cyberwombat
  • 38,105
  • 35
  • 175
  • 251
10
votes
1 answer

What's "EXISTS WIN://SYSAPPID" condition in "C:\Program Files\WindowsApps" ACL?

I noticed that access rights in C:\Program Files\WindowsApps for Users have a special "condition" applied: EXISTS WIN://SYSAPPID. I didn't find anything about ACL conditions or how I could create and utilize such kind of thing. How can I create and…
AxD
  • 2,714
  • 3
  • 31
  • 53
10
votes
2 answers

LogonSessionId account assigned Read access in new certificates?

I have a question that (hopefully) someone can shed some light on. I was writing a Powershell script that would import a certificate to the Local Machine store, and assign the Everyone group Read permissions to the private key's on the certificate.…
obs0lete
  • 179
  • 1
  • 11