Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.

Concepts.md 7.7 KiB

il y a 5 ans
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798
  1. # CORE CONCEPTS
  2. ## Overview
  3. Before starting with the NTFSSecurity module there are some core concepts that you will need to understand.
  4. There are two ways you can handle permissions, basic and advanced. The basic set of permissions are goups of advanced permissions that allow you to assign common role such as 'Read', 'Read/Write', or 'Full'. Advanced permissions allow you granular control of what can and can't be access or used. The advanced permissions are commonly used to build custom Role-Based Access Control tooling.
  5. Below is an explaination taken from the fantastic site NTFS.com for each of the advanced file permissions.
  6. ### Traverse Folder/Execute File
  7. * **Traverse Folder**: Allows or denies moving through a restricted folder to reach files and folders beneath the restricted folder in the folder hierarchy. Traverse folder takes effect only when the group or user is not granted the "Bypass traverse checking user" right in the Group Policy snap-in. This permission does not automatically allow running program files.
  8. * **Execute File**: Allows or denies running program (executable) files.
  9. ### List Folder/Read Data
  10. * **List Folder**: Allows or denies viewing file names and subfolder names within the folder. List Folder only affects the contents of that folder and does not affect whether the folder you are setting the permission on will be listed.
  11. * **Read Data**: Allows or denies viewing data in files.
  12. ### Read Attributes
  13. * Allows or denies viewing the attributes of a file or folder, for example, "read-only" and "hidden".
  14. ### Read Extended Attributes
  15. * Allows or denies viewing the extended attributes of a file or folder. Extended attributes are defined by programs and may vary by program.
  16. ### Create Files/Write Data
  17. * **Create Files**: Allows or denies creating files within the folder.
  18. * **Write Data**: Allows or denies making changes to a file and overwriting existing content.
  19. ### Create Folders/Append Data
  20. * **Create Folders**: Allows or denies creating subfolders within the folder.
  21. * **Append Data**: Allows or denies making changes to the end of the file but not changing, deleting, or overwriting existing data.
  22. ### Write Attributes
  23. * Allows or denies changing the attributes of a file or folder, for example, "read-only" or "hidden".
  24. * The Write Attributes permission does not imply creating or deleting files or folders, it only includes the permission to make changes to the attributes of an existing file or folder.
  25. ### Write Extended Attributes
  26. * Allows or denies changing the extended attributes of a file or folder. Extended attributes are defined by programs and may vary by program.
  27. * The Write Extended Attributes permission does not imply creating or deleting files or folders, it only includes the permission to make changes to the extended attributes of an existing file or folder.
  28. ### Delete Subfolders and Files
  29. * Allows or denies deleting subfolders and files, even if the Delete permission has not been granted on the subfolder or file.
  30. ### Delete
  31. * Allows or denies deleting the file or folder. If you don't have Delete permission on a file or folder, you can still delete it if you have been granted Delete Subfolders and Files on the parent folder.
  32. ### Read Permissions
  33. * Allows or denies reading permissions of a file or folder.
  34. ### Change Permissions
  35. * Allows or denies changing permissions of the file or folder.
  36. ### Take Ownership
  37. * Allows or denies taking ownership of the file or folder. The owner of a file or folder can always change permissions on it, regardless of any existing permissions that protect the file or folder.
  38. You can see how the basic permissions, advanced permissions, and the NTFSSecurity module relate to one another in the below table.
  39. | NTFSSecurity | AccessRight displayed | Advanced Security Window |
  40. |------------------------------|------------------------------|---------------------------------------------------------------------------------------------------------------------------|
  41. | ReadData | ListDirectory | List Folder / Read Data |
  42. | ListDirectory | ListDirectory | List Folder / Read Data |
  43. | WriteData | CreateFile | Create Files / Write Data |
  44. | CreateFiles | CreateFile | Create Files / Write Data |
  45. | AppendData | CreateDirectories | Create Folders / Append Data |
  46. | CreateDirectories | CreateDirectories | Create Folders / Append Data |
  47. | ReadExtendedAttributes | ReadExtendedAttributes | Read Extended Attributes |
  48. | WriteExtendedAttributes | WriteExtendedAttributes | WriteExtendedAttributes |
  49. | ExecuteFile | Traverse | Traverse Folder / Execute File |
  50. | Traverse | Traverse | Traverse Folder / Execute File |
  51. | DeleteSubdirectoriesAndFiles | DeleteSubdirectoriesAndFiles | Delete Sub-folders and Files |
  52. | ReadAttributes | ReadAttributes | Read Attributes |
  53. | WriteAttributes | WriteAttributes | Write Attributes |
  54. | Write | Write | Create Files / Write Data, Create Folders / Append Data, Write-Attributes, Write Extended Attributes |
  55. | Delete | Delete | Delete |
  56. | ReadPermissions | ReadPermissions | Read Permissions |
  57. | Read | Read | List Folder / Read Data, Read Attributes, Read Extended Attributes, Read Permissions |
  58. | ReadAndExecute | ReadAndExecute | Traverse Folder / Execute File, List Folder / Read Data, Read Attributes, Read Extended Attributes, Read Permissions |
  59. | Modify | Modify | Everything except Full Control, Delete SubFolders and Files, Change Permissions, Take Ownership |
  60. | ChangePermissions | ChangePermissions | Change Permissions |