acl

What does the + mean in the ACL output of "ls -l"?

ls -l -rwxr-xr-x 1 root root 885 2010-07-08 13:55 /etc/backup-number-of-files* -rwxrwxr-x+ 1 levchuk Users 1067 2010-08-30 14:37 /etc/backup-running-time* Please notice the + on the 2nd line. ...

Dynamic forum permissions in Drupal

My users access Drupal through SSO and everytime the server authorizes them, it returns a set of permissions (groups/roles), according to which I need to dynamically set the User's forum permissions. So for example if a User logs in and the SSO says that he has enrolled in a course, I need to give him specific permissions for that cours...

Design: Custom access control (restrict page access based on some criteria)

Although I will be using Ruby on Rails, this is a general questions about the best way to model a database and design a custom access control system for a CMS. So it does not matter what language/db. I would be happy to hear input from all experts. My problem: I am in the early process of developing an online tutorial system for a local...

Is Spring ACL a good ACL implementation?

Hi, I have read about Spring ACL but it does not seem to be very competent. For example: 1) No way to list all objects of type X with permission Y 2) No way to automatically create the schemas for new deployments What are you using for ACL? Is it clever to have the ACL so decoupled from the domain model? Thanks, Piotr ...

ACL and AllowedActions Issue with CakePHP 1.3

Originally, I would run terminal commands to generate my ACL table data. However, this became tedious so I now use the below code to automatically generate my ACOS, AROS, and AROS_ACOS tables: http://book.cakephp.org/view/647/An-Automated-tool-for-creating-ACOs I also created these two functions to help populate those tables: function...

CakePHP ACL - How to get Group-only permissions?

I just want group only permissions - I don't need user based permissions. The cake 1.3 manual (http://book.cakephp.org/view/1646/x11-2-4-1-Group-only-ACL) says: In case we want simplified per-group only permissions, we need to implement bindNode() in User model. function bindNode($user) { return array('Group' => array('id' ...

Programmatically add user forum permissions in Drupal

I'd like to programmatically add user forum permissions in Drupal. Do I have to use ACL module? Is there any example out there, as the documentation is a bit thin? ...

Rails, Rackspace Cloud Files, Referrer ACL

Hi, I am using Rackspace Cloud Files as File Storage server for my application. The files that users upload must be authorized from within my application, then from a controller it would redirect to the correct Rackspace Cloud Files CDN URL. I am trying to do authorization using Rackspace Cloud Files' Referrer ACL. So let me just add a...

MongoDB's GridFS, Rails 3, X-Sendfile, and ACL's, HOW-TO ?

I have a Rails 3 project that does file upload/download, with access rights (User has many Files, and can only read/write his own files). If I store my files on classic filesystem, I can check the access to the file in my rails app and then use X-Sendfile header to redirect to the file, if user has access. In this way, a user can neve...

C# Mono on Unix - File system ACLs

Are there methods in Mono C# to interact with file ACLs and extended ACLs? I found the assembly Mono.Posix.dll, and the class UnixFileInfo. This can give me nice things like the owner group and user, but no ACLs. Does it exist? Or would I have to basically use DllImport for everything? ...

win32 createfilemapping and ACL

Hi all! I totally dislike win32 API, but I need to do one thing, so I came here to ask you for help ) The task is to create shared between two processes file mapping. The problem is in specifying properly security attributes (second parameter). I need somehow to set this atributes in order to: Allow reading from file map. Deny reading...