Skip to content

This project demonstrates how to set up and manage network file shares with Active Directory integration. It includes configuring folder permissions, creating security groups, and assigning user roles to control access.

License

Notifications You must be signed in to change notification settings

justinthepatchnotes/Network-File-Shares-and-Permissions-with-Active-Directory

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

Logo

Network File Shares and Permissions with Active Directory

Prerequisites and Installation

This tutorial walks you through the process of creating and managing network file shares with Active Directory integration. You'll configure file share permissions for users and groups to allow or deny access based on roles.

Environments and Technologies Used

  • Microsoft Azure Virtual Machines
  • Remote Desktop
  • Active Directory Users and Computers
  • Network Security Group
  • Organization Units

Operating Systems Used

  • Windows 10
  • Windows Server 2019

List of Prerequisites

  • Active Directory Domain Controller setup
  • Client machine connected to the same domain
  • Basic knowledge of Active Directory and file sharing
  • Remote Desktop access to Azure VMs

Installation Steps

Step 1: Prepare the Environment

  1. Create two remote desktop instances: one as a Domain Controller (DC-1) and one as a client machine (Client-1).
  2. Log in to the domain controller as an admin and to the client PC as a normal user.

1 Domain Controller (DC-1) 2 Client machine (Client-1) 2

Step 2: Create File Share Folders on the Domain Controller

  1. On DC-1, open Windows Explorer and navigate to the C:\ drive.
  2. Create four folders: read-access, write-access, no-access, and accounting.

1 2

Step 3: Configure Sharing Permissions

  1. Right-click each folder and go to PropertiesSharing.
  2. Click Share, and in the dropdown menu, select Domain Users.
  3. Set permissions as follows:
    • read-access: Read permissions
    • write-access: Read/Write permissions
    • no-access: Deny access to normal users (assign Domain Admins Read/Write access)

1 2 3

Step 4: Test Access on Client-1

  1. On Client-1, press Run → type \\DC-1 to access the shared folders.
  2. Test the following:
    • read-access: Open and edit a file (should allow viewing only).
    • write-access: Edit and save the file.
    • no-access: You should see an error indicating access is denied.

1 2 Read Only Access (Cannot Create a File) 2 Write Only Access 2 No Access 2

Step 5: Create and Assign an "ACCOUNTANTS" Security Group

  1. On DC-1, open Active Directory Users and Computers.
  2. Create a new Organizational Unit (OU) called _SECURITY_GROUP.
  3. Create a Group named ACCOUNTANTS within this OU, selecting Global for group scope and Security for group type.

1 2

Step 6: Set Permissions for the "accounting" Folder

  1. Go to the accounting folder and open its PropertiesSharing.
  2. Add the ACCOUNTANTS group and grant Read/Write permissions.
  3. Share the folder.

1

Step 7: Assign User to the "ACCOUNTANTS" Group

  1. In Active Directory, add the appropriate user to the ACCOUNTANTS group.
  2. Right-click the group → PropertiesMembersAdd → search and add the user.

1 2

Step 8: Log Off and Log In on Client-1

  1. Log off from Client-1, then log back in to apply group membership changes.
  2. Open Windows File Explorer, navigate to \\DC-1, and open the accounting folder.
  3. Test if you can access, edit, and save the file.

1

You now have successfully set up network file shares and configured permissions using Active Directory. For more details, visit the Microsoft Support Page.

FAQ

Q: How do I give specific users read-only access?
A: Set the folder permissions to "Read" for the specific user or group.

Q: What if a user can't access a folder?
A: Ensure that the user is added to the correct security group and that the share permissions are properly set.


Conclusion

🎉 You’ve successfully configured network file shares with Active Directory permissions! 🎉

About

This project demonstrates how to set up and manage network file shares with Active Directory integration. It includes configuring folder permissions, creating security groups, and assigning user roles to control access.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published