vbscript - Best practice to restrict permissions on newly created folders? -


i've got script user runs creates group of sub-folders in chosen directory. newly created folders inherit permissions of parent directory. need 1 folder in newly created group have single different acl restrict 1 specific user access.

is there way automate @ creation of folder? or there better way deal this?

so, clarify: imagine folder path following: e:\datastore\marcstone bids\7501-8000\7501 high school project\management documents

see how second last directory project name? there literally hundreds of these, inside of same 10 folders. want users have access folders, except need restrict access 1 folder 1 user.

unless i'm missing something, no matter how set parent directory permissions (which inherited) still need either remove or add permission from/to 1 folder after it's created. feels clumsy , complicated. missing something? there way this?

the best practice make 1 user member of different group, , grant group

  • traverse permission on parent folder (non-inheritable), and
  • access on 1 child folder (inheritable).

if want deny access 1 subfolder, it's simpler: add deny ace group on respective folder.

nothing clumsy or complicated it.


Comments

Popular posts from this blog

php - failed to open stream: HTTP request failed! HTTP/1.0 400 Bad Request -

java - How to filter a backspace keyboard input -

java - Show Soft Keyboard when EditText Appears -