Folder permissions - deny users, allow administrator

Folder permissions - deny users, allow administrator

Secure Home | Search | About
 Microsoft Applications 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 add this group's latest topics to your Google content
Subject Author Date
Folder permissions - deny users, allow administrator dima 11-16-2007
Posted by Roger Abell [MVP] on November 20, 2007, 9:48 am
If you were  Registered and logged in, you could reply and use other advanced thread options
> Hi Roger, thanks for replying.
>
> No, members of Users are not to have the same permissions for "working"
> and
> "completed". As I said, both "working" and "completed" inherit from
> "root_folder", except "completed" has an extra explicit Deny permission on
> top of what's inherited. The purpose of this deny permission is to
> explicitly
> deny everything but read access to Users members in "completed".
>

OK, but I was hoping for a positive statement of what they should have.
So, it appears that Users should have ability to define new things in
Working and to modifiy them, but that they should have only read/list
on those once they are in Completed.

> I'm aware that Creator/Owner permissions kick in as soon a member of Users
> creates a folder in "working", and then moves it to "completed". This is
> why
> I put the Deny permission in place on "completed" - to explicitly override
> that. In fact, with it being the only explicit Deny permission, it should
> override all Allow permissions of each folder in "completed" - and it
> does.

Not really. It does not work that way.
An inherited deny will only override conflicting grants that are
set at the same or a higher level in the directory tree. It will not
override a grant set at a lower level (closer to the object under
consideration). Hence, the Creator/Owner grant causes a explict
grant to Username on the object they create, and this grant moves
with the object when it is moved to Completed, and this grant then
overrides the inherited deny.

> However, instead of affecting just members of the Users group, this Deny
> permission also affects members of the Administrators group, for no
> apparent
> reason. That is, members of the Administrators group are also denied
> everything except read access to the "completed" folder - even though the
> permission is set only for the Users group.
>

Your members of Administrators are obviously considered to
effectively be members of Users
At a cmd prompt, if you issue
net localgroup administrators
what is the result ?
As stated in reply of other thread, your Users group likely has
either Authenticated Users or Interactive in it. If you remove
these you need to be careful about what they are accomplishing
so that you replace what of that is needed with some other
memberships. However, if you approach this without use of
Deny, which I would recommend, then Administrators being
effective members of Users becomes a non-issue for this issue.

> I want to be able to have a folder in "working" with full access to Users,
> and then have an Administrator to move it to "completed", and by doing so,
> automatically make the folder as read-only to Users. I want Administrators
> to
> retain full control over both folders at all times.
>

Here is what I would suggest.
On Working set
Administrators Full
Users Modify
and nothing else and nothing inherited from parent of Working.
On Completed set
Administrators Full
Users Read/List
and nothing else and nothing inherited from parent of Completed.

With those permissions there will be no explict permissions on
objects withing either Working or Completed. Hence a move
from Working to Completed will result in the moved object then
having only the permissions inherited from Completed.

If there are any permissions set directly on the moved object
those will move with it. That is (part of) what is giving you
problems.

Roger

> Thanks again for the help.
>
> --
> dima
>
> "Roger Abell [MVP]" wrote:
>
>> So are Users members to have the same permissions on
>> things in Working as in Completed?
>> You not not state.
>>
>> Your issue is in part that there is a special grant to Users
>> that lets them create new things, at which point the grant
>> to Creator/Owner kicks in an grants that account Full.
>>
>> Given that Working and Completed are on the same partition
>> you should copy from Completed to Working, not move.
>> A move within a partition for Windows up through W2k3
>> takes along permissions that are explicitly granted on the
>> moved.
>>
>> Tell us what you want Working to allow to Users and then
>> we can get you going.
>>
>> Roger



Posted by Roger Abell [MVP] on November 20, 2007, 9:52 am
If you were  Registered and logged in, you could reply and use other advanced thread options
alternatively

on parent of Working and Completed set only
Administrators Full
Users Read/List
then on Working set additional
Users Modify

Note that upon a move the adjustment of inherited permissions
is not always reflected immediately, but it will be eventually.


> Hi Roger, thanks for replying.
>
> No, members of Users are not to have the same permissions for "working"
> and
> "completed". As I said, both "working" and "completed" inherit from
> "root_folder", except "completed" has an extra explicit Deny permission on
> top of what's inherited. The purpose of this deny permission is to
> explicitly
> deny everything but read access to Users members in "completed".
>
> I'm aware that Creator/Owner permissions kick in as soon a member of Users
> creates a folder in "working", and then moves it to "completed". This is
> why
> I put the Deny permission in place on "completed" - to explicitly override
> that. In fact, with it being the only explicit Deny permission, it should
> override all Allow permissions of each folder in "completed" - and it
> does.
> However, instead of affecting just members of the Users group, this Deny
> permission also affects members of the Administrators group, for no
> apparent
> reason. That is, members of the Administrators group are also denied
> everything except read access to the "completed" folder - even though the
> permission is set only for the Users group.
>
> I want to be able to have a folder in "working" with full access to Users,
> and then have an Administrator to move it to "completed", and by doing so,
> automatically make the folder as read-only to Users. I want Administrators
> to
> retain full control over both folders at all times.
>
> Thanks again for the help.
>
> --
> dima
>
> "Roger Abell [MVP]" wrote:
>
>> So are Users members to have the same permissions on
>> things in Working as in Completed?
>> You not not state.
>>
>> Your issue is in part that there is a special grant to Users
>> that lets them create new things, at which point the grant
>> to Creator/Owner kicks in an grants that account Full.
>>
>> Given that Working and Completed are on the same partition
>> you should copy from Completed to Working, not move.
>> A move within a partition for Windows up through W2k3
>> takes along permissions that are explicitly granted on the
>> moved.
>>
>> Tell us what you want Working to allow to Users and then
>> we can get you going.
>>
>> Roger



Posted by =?Utf-8?B?ZGltYQ==?= on November 22, 2007, 12:44 pm
If you were  Registered and logged in, you could reply and use other advanced thread options
Hi Roger, thanks again for taking the time to reply.

> Here is what I would suggest.
> On Working set
> Administrators Full
> Users Modify
> and nothing else and nothing inherited from parent of Working.
> On Completed set
> Administrators Full
> Users Read/List
> and nothing else and nothing inherited from parent of Completed.
>
> With those permissions there will be no explict permissions on
> objects withing either Working or Completed. Hence a move
> from Working to Completed will result in the moved object then
> having only the permissions inherited from Completed.
>
> If there are any permissions set directly on the moved object
> those will move with it. That is (part of) what is giving you
> problems.

I gave this a try, using exactly the setup you specified, but it doesn't
quite achieve what I want. If a Users member creates a folder in "working",
then an Administrator moves it to "completed", the folder retains the full
control permission for Users. When I examine it in advanced security
settings, it says that this permission is inherited from "Parent Object" -
but it doesn't say which folder that parent object is. Administrators retain
full control over the moved folder just fine.

Thank you!

--
dima

Posted by Roger Abell [MVP] on November 22, 2007, 11:25 pm
If you were  Registered and logged in, you could reply and use other advanced thread options
> Hi Roger, thanks again for taking the time to reply.
>
>> Here is what I would suggest.
>> On Working set
>> Administrators Full
>> Users Modify
>> and nothing else and nothing inherited from parent of Working.
>> On Completed set
>> Administrators Full
>> Users Read/List
>> and nothing else and nothing inherited from parent of Completed.
>>
>> With those permissions there will be no explict permissions on
>> objects withing either Working or Completed. Hence a move
>> from Working to Completed will result in the moved object then
>> having only the permissions inherited from Completed.
>>
>> If there are any permissions set directly on the moved object
>> those will move with it. That is (part of) what is giving you
>> problems.
>
> I gave this a try, using exactly the setup you specified, but it doesn't
> quite achieve what I want. If a Users member creates a folder in
> "working",
> then an Administrator moves it to "completed", the folder retains the full
> control permission for Users. When I examine it in advanced security
> settings, it says that this permission is inherited from "Parent Object" -
> but it doesn't say which folder that parent object is. Administrators
> retain
> full control over the moved folder just fine.
>

Hi Dima,

I am sort of at a loss as I specified nothing about granting
Users Full. Where did that come from ? Check the folder
that is parent of Working and Completed and also each of
those using the Advanced view.
Either strategy I earlier provided should work, but I like
the second, afterthought one better, i.e.
on parent of Working and Completed set only
Administrators Full
Users Read/List
then on Working set additional
Users Modify
But, I did not but should have mentioned to make sure that
the parent of Working and Completed does not inherit from
its parent (or if it does then that adds nothing more than is
being set on parent of Working and Completed)



Posted by =?Utf-8?B?ZGltYQ==?= on November 23, 2007, 11:33 am
If you were  Registered and logged in, you could reply and use other advanced thread options
Hi Roger,

Thanks for sticking with me. Please see link below for a clearer explanation
of what I'm experiencing.

http://www.telusplanet.net/~dynacor/permissions.html

Thanks again!

"Roger Abell [MVP]" wrote:

>
> Hi Dima,
>
> I am sort of at a loss as I specified nothing about granting
> Users Full. Where did that come from ? Check the folder
> that is parent of Working and Completed and also each of
> those using the Advanced view.
> Either strategy I earlier provided should work, but I like
> the second, afterthought one better, i.e.
> on parent of Working and Completed set only
> Administrators Full
> Users Read/List
> then on Working set additional
> Users Modify
> But, I did not but should have mentioned to make sure that
> the parent of Working and Completed does not inherit from
> its parent (or if it does then that adds nothing more than is
> being set on parent of Working and Completed)


Similar ThreadsPosted
Locked out of Computer - "Deny logon locally = Administrator" July 2, 2007, 1:14 am
Can change owner of folder when deny in place February 28, 2006, 5:19 am
deny delete folders/files from a shared folder on the network September 19, 2006, 6:56 am
Assign permissions to create other users to Users account November 9, 2006, 4:05 am
Folder permissions April 26, 2007, 9:28 am
Folder permissions October 25, 2007, 6:26 pm
Folder permissions November 5, 2007, 8:17 am
Folder Permissions September 6, 2008, 2:54 pm
Who and how can create users besides administrator? October 26, 2005, 1:23 pm
Permissions on created folder July 28, 2005, 12:37 pm

The site map in XML format XML site map

Contact Us | Privacy Policy