Giter Club home page Giter Club logo

network-file-shares-and-permissions's Introduction

Microsoft Active Directory Logo

Network File Shares and Permissions

In this tutorial we will crete some file shares with different permissions and attempt to access them.

Environments and Technologies Used

  • Microsoft Azure (Virtual Machine,Domain Controller, Client one machine)
  • Remote Desktop
  • Active Directory Domain Services
  • Shared Network Files

Operating Systems Used

  • Windows 10 (21H2)

File Shares and Observation

Login to DC-1 as your domain admin account, in my case it is mydomain.com\kanza_admin) and create some file shares with various permissions.

login to Client-1 as a normal user (mydomain<someuser>)

Disk Sanitization Steps

On DC-1, go the c:\ drive and create four folders “read-access”, “write-access”, “no-access”, “accounting”


Disk Sanitization Steps

4. Set the following permissions, share the folder for the “Domain Users” group.

Folder: “read-access”, Group: “Domain Users”, Permission: “Read” and to do that right click>properties>sharing>share>type domain users and share.

Folder: “write-access”, Group: “Domain Users”, Permissions: “Read/Write”

Folder: “no-access”, Group: “Domain Admins”, “Permissions: “Read/Write”


Disk Sanitization Steps

Skip the accounting folder for now.


Disk Sanitization Steps

Now attempt to access file shares as the normal users.


Disk Sanitization Steps

On Client-1, navigate to the shared folder On to file explorer (start, run, \\dc-1)


Disk Sanitization Steps

Try to access the folder that you created, which folder that you can access? which folder you can create some stuff in?


Disk Sanitization Steps

Go to the DC-1, in Active Directory>right click mydomain.com>new>OU>_SECURITY_GROUPS and refresh mydomian.com.


Disk Sanitization Steps

Inside "Security Groups" create new group called “ACCOUNTANTS”.


Disk Sanitization Steps

Go to file explorer On the “accounting” folder you created earlier, set the following permissions: “Read/Write”

“accounting” Right click>properties>sharing>share>ACCOUNTANTS>CLICK add>read and write>share>done>close.


Disk Sanitization Steps

On client-1, try to access the Accounting folder. It will fail, then logout from client-1.


Disk Sanitization Steps

On DC-1 make the user the member of the Accountant Security group.

Login back as that user in Client-1 and try to access the Accounting share file in \DC-1.


network-file-shares-and-permissions's People

Contributors

kanzafatima avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.