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
- Open Active Directory Users and Computers.
- Navigate to your desired OU.
- Create security groups for each role:
- HR_Read โ read-only access to HR folder
- HR_Write โ modify access
- IT_Admin โ full control
- 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:
- Open Server Manager โ File and Storage Services
- Click on Shares
- Right-click the share โ Properties
- Under Settings, enable Access-based Enumeration
๐ฏ Summary
| Role/Group | Share Permission | NTFS Permission |
| HR_Read | Read | Read & execute |
| HR_Write | Change | Modify |
| IT_Admin | Full Control | Full Control |
๐ฏ RBAC works best when you manage access through AD groups, not individual user permissions.


Pingback: ๐ง 5 Essential AirPods Pro Settings Every iPhone User Should Know
Pingback: ๐ฅ๏ธ The Ultimate Guide to Dual Monitor Setup: Boost Productivity and Gaming Performance