Results 1 to 3 of 3

Thread: Prevent folder move and delete in 2003 Server

  1. #1
    cjg.groups Guest

    Prevent folder move and delete in 2003 Server

    Hello. Can NTFS permissions prevent a user from moving or deleting a
    folder in Windows 2003 Server? Please provide any adjustments to the
    detailed example below.

    My extensive testing has shown that:
    When a user deletes a folder, the contents of that folder are deleted
    first, THEN that folder's permissions are checked and obeyed. Giving
    the user "deny Delete" permission on a folder prevents the folder from
    being deleted AFTER its contents have been erased. A similar problem
    happens when moving this folder.


    Here is my test setup. I'm trying to prevent Subfolder B from being
    deleted or moved. I'm allowing Users to create/delete/modify files
    and folders within Subfolder B.

    Parent folder A:
    - Inheritance off
    - Everyone has Deny Delete on "this folder and subfolders" with "Apply
    to objects/containers within this container only" checked.
    - Users have Allow "Read and Execute" on "this folder, subfolders,
    files"

    Subfolder B:
    - Inheritance off
    - Users have Deny Delete on "this folder only"
    - Users have Allow "Read/Write/Execute" on "this folder only"
    - Users have Allow Modify on "subfolders and files only"

    "Parent folder A" is included because it contains many subfolders like
    "Subfolder B" which need this protection. I see some inefficiency in
    this which I'll try to fix.

    When a user deletes Subfolder B, the files and folders it contains are
    deleted, THEN the user is denied from deleting Subfolder B. How can
    the folder AND its contents be protected from an attempt to delete the
    folder, still allowing the user to modify the contents of the folder?
    Thank you.

  2. #2
    cjg.groups Guest

    Re: Prevent folder move and delete in 2003 Server

    On Oct 27, 4:54 pm, "cjg.groups" <cjg.gro...@gmail.com> wrote:
    > Hello. Can NTFS permissions prevent a user from moving or deleting a
    > folder in Windows 2003 Server? Please provide any adjustments to the
    > detailed example below.
    >
    > My extensive testing has shown that:
    > When a user deletes a folder, the contents of that folder are deleted
    > first, THEN that folder's permissions are checked and obeyed. Giving
    > the user "deny Delete" permission on a folder prevents the folder from
    > being deleted AFTER its contents have been erased. A similar problem
    > happens when moving this folder.
    >
    > Here is my test setup. I'm trying to prevent Subfolder B from being
    > deleted or moved. I'm allowing Users to create/delete/modify files
    > and folders within Subfolder B.
    >
    > Parent folder A:
    > - Inheritance off
    > - Everyone has Deny Delete on "this folder and subfolders" with "Apply
    > to objects/containers within this container only" checked.
    > - Users have Allow "Read and Execute" on "this folder, subfolders,
    > files"
    >
    > Subfolder B:
    > - Inheritance off
    > - Users have Deny Delete on "this folder only"
    > - Users have Allow "Read/Write/Execute" on "this folder only"
    > - Users have Allow Modify on "subfolders and files only"
    >
    > "Parent folder A" is included because it contains many subfolders like
    > "Subfolder B" which need this protection. I see some inefficiency in
    > this which I'll try to fix.
    >
    > When a user deletes Subfolder B, the files and folders it contains are
    > deleted, THEN the user is denied from deleting Subfolder B. How can
    > the folder AND its contents be protected from an attempt to delete the
    > folder, still allowing the user to modify the contents of the folder?
    > Thank you.


    I get the same result using the following, more clean permissions for
    Subfolder B:
    Subfolder B:
    - Inheritance on
    - Everyone has Deny Delete on "this folder only" (inherited)
    - Users have Allow "Read and Execute" on "this folder, subfolders,
    files" (inherited)
    - Users have Allow Modify on "this folder, subfolders and files"

    Since "Deny overrides Allow", the "Deny Delete this folder only"
    overrides the "Allow Delete this folder only" given by Allow Modify.
    The inherited "Allow Read and Execute" is redundant.

    This should allow people to work within Subfolder B but not delete
    Subfolder B. Actually, I can delete Subfolder B with no problem, even
    though I have "Deny Delete" on it.

  3. #3
    cjg.groups Guest

    Re: Prevent folder move and delete in 2003 Server

    On Oct 27, 4:54 pm, "cjg.groups" <cjg.gro...@gmail.com> wrote:
    > Hello. Can NTFS permissions prevent a user from moving or deleting a
    > folder in Windows 2003 Server? Please provide any adjustments to the
    > detailed example below.
    >
    > My extensive testing has shown that:
    > When a user deletes a folder, the contents of that folder are deleted
    > first, THEN that folder's permissions are checked and obeyed. Giving
    > the user "deny Delete" permission on a folder prevents the folder from
    > being deleted AFTER its contents have been erased. A similar problem
    > happens when moving this folder.
    >
    > Here is my test setup. I'm trying to prevent Subfolder B from being
    > deleted or moved. I'm allowing Users to create/delete/modify files
    > and folders within Subfolder B.
    >
    > Parent folder A:
    > - Inheritance off
    > - Everyone has Deny Delete on "this folder and subfolders" with "Apply
    > to objects/containers within this container only" checked.
    > - Users have Allow "Read and Execute" on "this folder, subfolders,
    > files"
    >
    > Subfolder B:
    > - Inheritance off
    > - Users have Deny Delete on "this folder only"
    > - Users have Allow "Read/Write/Execute" on "this folder only"
    > - Users have Allow Modify on "subfolders and files only"
    >
    > "Parent folder A" is included because it contains many subfolders like
    > "Subfolder B" which need this protection. I see some inefficiency in
    > this which I'll try to fix.
    >
    > When a user deletes Subfolder B, the files and folders it contains are
    > deleted, THEN the user is denied from deleting Subfolder B. How can
    > the folder AND its contents be protected from an attempt to delete the
    > folder, still allowing the user to modify the contents of the folder?
    > Thank you.


    I challenge anyone to at least set this up and test it. Am I doing
    something wrong, or are Deny permissions being mostly ignored?

Similar Threads

  1. how to move WINS from server 2003 to server 2008
    By Imran in forum Windows Server Help
    Replies: 3
    Last Post: 09-01-2014, 01:42 PM
  2. Proper way to add move Exchange 2003 to a new server
    By kermit4karate in forum Windows Software
    Replies: 2
    Last Post: 21-01-2009, 10:14 AM
  3. Prevent users from adding computer to domain in Server 2003
    By Jasper Recto in forum Active Directory
    Replies: 5
    Last Post: 15-01-2009, 02:21 AM
  4. Replies: 18
    Last Post: 08-06-2008, 05:30 AM
  5. Replies: 9
    Last Post: 20-03-2008, 08:44 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,714,000,616.57346 seconds with 17 queries