Click here to get back home

mandatory filesystem ACLs

 HomeNewsGroups | Search | About
 microsoft.public.windows.server.security    Post an article   get this group's latest topics as an RSS feed add this group's latest topics to your My MSN content add this group's latest topics to your My Yahoo content
Subject Author Date
mandatory filesystem ACLs eric.hall 03-09-2007
Posted by eric.hall on March 9, 2007, 4:14 pm
Please log in for more thread options
Hi,

I've been using Windows Server for years, but there's one thing I've
never been able to figure out: Is it possible to define mandatory
filesystem permissions, ie permissions that are always used and cannot
be overridden without admin intervention?

I have a large shared storage pool that contains shared apps and data
(software, group documents, etc) for the users on the network. Default
permissions are for Administrators and SYSTEM to have full privs,
whille Users have modify privs. Periodically however, one of the users
will drop a new folder in there and the permissions on that new folder
will have him with full privs. It's even worse with NFS access into
the folder.

What I'd like to do is set mandatory permissions that are always
enforced but I can't seem to find a way to do this in Windows

Is my alternative to use something like CACL or SetACL in task
scheduler, and constantly slam the whole filesystem every few hours?

Thanks


Posted by Roger Abell [MVP] on March 10, 2007, 1:38 am
Please log in for more thread options
There is a formal terminology that revolves around making the
"mandatory" access control distinction. You do seem to speak
within this context. Normally by mandatory access control we
mean prescribing what the access control must be, absolutely
and without possibility of it being different.

Windows in the released version is not capable of mandatory
access control. There seems to be main reasons. One you almost
mention, is that the creator of a new filesystem object becomes
the owner of the object; and, the owner is always able to change
the access control on the object. (The actual case you mention
sounds more to be artifact from having a grant to Creator Owner
on the parent container, which is a default ACLing used in post
NT4 Windows, but which can be removed and so does not prevent
Windows from being capable of mandatory access control.)

In order to come close to what you are after one needs to do
something like you have suggested. One way is to have a
security template that carries the filesystem specifications
and have this periodically applied such as by scheduled run
of secedit to apply the template. A better way is to use WMI
eventing and have a process that is always running and subscribed
to relevant changes in the storage area of interest, which same
process when evented examines the relevant change adjusting
ownership and ACLing as needed. That still is not mandatory
access control (there must be no possibility for access control
to be set differently than prescribed), and but that does allow
for a much shorter time-window during which the ACLing is
misaligned than does the scheduled/non-evented solutions.

Either approach will address the case you mention, and the
breach of mandatory control due to vesting ownership in the
object creator, and those from the other two origins I have
not mentioned. But you must craft the solution, and technically
you still do not end up with mandatory access control (just a
behavior very close to it).

Roger
> Hi,
>
> I've been using Windows Server for years, but there's one thing I've
> never been able to figure out: Is it possible to define mandatory
> filesystem permissions, ie permissions that are always used and cannot
> be overridden without admin intervention?
>
> I have a large shared storage pool that contains shared apps and data
> (software, group documents, etc) for the users on the network. Default
> permissions are for Administrators and SYSTEM to have full privs,
> whille Users have modify privs. Periodically however, one of the users
> will drop a new folder in there and the permissions on that new folder
> will have him with full privs. It's even worse with NFS access into
> the folder.
>
> What I'd like to do is set mandatory permissions that are always
> enforced but I can't seem to find a way to do this in Windows
>
> Is my alternative to use something like CACL or SetACL in task
> scheduler, and constantly slam the whole filesystem every few hours?
>
> Thanks
>



Posted by eric.hall on March 10, 2007, 1:29 pm
Please log in for more thread options

> Windows in the released version is not capable of mandatory
> access control.

This is probably a good application for extended attributes. IE, have
a bit flag which tells a directory that all subordinate objects must
use the flagged ACLs, and that the ACLs cannot be changed unless/until
the flagged ACLs are also changed.




Posted by Roger Abell [MVP] on March 10, 2007, 5:54 pm
Please log in for more thread options

>
>> Windows in the released version is not capable of mandatory
>> access control.
>
> This is probably a good application for extended attributes. IE, have
> a bit flag which tells a directory that all subordinate objects must
> use the flagged ACLs, and that the ACLs cannot be changed unless/until
> the flagged ACLs are also changed.
>
I believe a number of alternatives for implementing true, fully
mandatory ACL'ing have been examined, and of course the big
issue is not breaking anything back-compatibility-wise.
It is a known, unsatisfied, requirement.



Similar ThreadsPosted
Is a CA mandatory in AD May 29, 2008, 10:50 pm
Compare ACLs April 29, 2008, 5:10 pm
Junction Points and ACLs September 20, 2005, 9:02 am
Removing System SID from ACLs August 8, 2006, 2:40 pm
Moving ACLs to new server May 24, 2007, 12:08 am
rmtshare.exe utility overwriting ACLs August 15, 2006, 4:48 pm
ACLs - Users with READ can MOVE a whole folder? April 11, 2007, 10:45 am
Delete cached local copy of mandatory profile and non roaming domain user profiles ? May 1, 2008, 5:50 am
FileACL Syntax to Replace File ACLs from Parent January 20, 2006, 11:53 pm
Copy all ACLs from one folder to copy February 21, 2008, 2:46 am

Our other projects:

Art Dolls, Fairies and Mermaids - Sunnyfaces.net

Roy's Linux, Programming and Search Engines messages

1-Script XML SitemapXML Sitemap