module 2 day 3: windows file permissions through windows special permissions Flashcards
who do we want to give access to certain files and directories?
those who need it
How are files and directory permissions assigned in Windows?
using Access Control Lists, or ACLs
What will we work with in this course for files and directory permissions?
Discretionary Access Control Lists, or DACLs
What can windows files and folders also have for permissions?
System Access Control Lists, or SACLs, assigned to them
What are used to tell Windows that it should use an event log to make a note of every time someone accesses a file or folder?
SACLs
What is a note about who can use a file and what they’re allowed to do with it?
DACL
What has an owner and one or more DACL?
Each file or folder on a Windows machin
how can you see the properties dialogue for your Home Directory in Windows?
Go in file explorer, home directory, right click desktop, select properties
how do you see the permissions window in the properties dialogue for a directory?
go to the securities tab, and that tab is the permissions window.
what is in the top box in the permissions window for a directory?
Group or user names
what is in the bottoms box in the permissions window for a directory?
Permissions for SYSTEM, a list of permissions that each user group has been assigned
What permission lets you see that a file exists and lets you read its contents and also lets you read the files and directories in a directory?
Read
What permission lets you read files, and if the file is executable, you can run the file? Includes Read, so if you select it, Read will be automatically selected
Read and Execute
what permission is an alias for Read and Execute on a directory? so checking one will check the other? You can read and execute files in that directory
List folder contents
what permission lets you make changes to a file? you can have this access without having read permission. Lets you create subdirectories and write to files in the directory
Write
what permission is an umbrella permission that includes read, execute, and write?
Modify
what permission gives a user or group access to do anything they want to the file? All the permissions of modify, and the ability to take ownership of a file and change its ACLs.
Full Control
how can you see the permissions for the user?
click on the user’s name in the permissions page for the file or directory, and it will show in the Permissions list below.
how can you see which ACLs are assigned to a file? what utility designed to view and change ACLs?
use icacls, improved change ACLs. PowerShell.
how would you look at the desktop with icacls?
icacls ~\Desktop
what does the output for icacls ~\Desktop show us?
you can see the user accounts with access to your Desktop, and you can see if your account is one of them.
In PowerShell, in icacls, what do the capital letters in parentheses represent?
the ones in front of the user represent the file permissions the user has.
what is the help parameter for icacls?
icacls /? It’s a DOS command
in icacls, what does F mean?
full access