Sharing a Folder Using RBAC
Learn the essential steps to install and configure Windows Server OS for your enterprise environment.

Sharing a Folder Using RBAC in Windows Server 2024

RBAC in Windows Server 2024

In Windows Server 2024, implementing folder sharing with RBAC (Role-Based Access Control) means using NTFS permissions and share permissions in combination with security groups in Active Directory to control access based on user roles.

โœ… Step-by-Step Guide: Sharing a Folder Using RBAC in Windows Server 2024

๐Ÿ›  Prerequisites:

  • Windows Server 2024 with File Server role installed
  • Folder to share (e.g., D:\DepartmentDocs)
  • Active Directory roles/groups created (e.g., HR_Read, HR_Write, IT_Admin)

๐Ÿ”น Step 1: Create Role-Based AD Security Groups

  1. Open Active Directory Users and Computers.
  2. Navigate to your desired OU.
  3. Create security groups for each role:
    1. HR_Read โ€“ read-only access to HR folder
    1. HR_Write โ€“ modify access
    1. IT_Admin โ€“ full control
  4. Add users to the appropriate group based on their job role.

๐Ÿ”น Step 2: Create or Identify the Folder to Share

Letโ€™s say the folder is D:\DepartmentDocs.

  • Right-click the folder โ†’ Properties
  • Go to the Sharing tab โ†’ Click Advanced Sharing
  • Check Share this folder
  • Set a Share name (e.g., DepartmentDocs)
  • Click Permissions:
    • Remove Everyone
    • Add your role-based groups:
      • HR_Read โ†’ Read
      • HR_Write โ†’ Change
      • IT_Admin โ†’ Full Control
    • Click OK

๐Ÿ”Ž Share permissions are broadโ€”NTFS permissions provide finer control.

๐Ÿ”น Step 3: Set NTFS Permissions (File System Access)

  • Go to the Security tab โ†’ Click Edit
  • Remove unwanted groups like Everyone or Users
  • Add the same AD groups:
    • HR_Read โ†’ Allow: Read & execute, List folder contents, Read
    • HR_Write โ†’ Allow: Modify
    • IT_Admin โ†’ Allow: Full control
  • Click OK

โœ… NTFS permissions are what actually control what users can do inside the folder.

๐Ÿ”น Step 4: Test Access

From a client machine or another domain-joined PC:

  • Open \\ServerName\DepartmentDocs
  • Log in as different users and confirm:
    • Read-only users can view files, not edit
    • Modify users can add/edit/delete
    • Admins can do everything

๐Ÿ›ก Optional: Enable Access-Based Enumeration (ABE)

To hide folders users don’t have access to:

  1. Open Server Manager โ†’ File and Storage Services
  2. Click on Shares
  3. Right-click the share โ†’ Properties
  4. Under Settings, enable Access-based Enumeration

๐ŸŽฏ Summary

Role/GroupShare PermissionNTFS Permission
HR_ReadReadRead & execute
HR_WriteChangeModify
IT_AdminFull ControlFull Control

๐ŸŽฏ RBAC works best when you manage access through AD groups, not individual user permissions.

Install and configure Windows Serverโ€ฏ2025

2 Comments

Leave a Reply

Your email address will not be published. Required fields are marked *