На общем диске, как запретить пользователям изменять структуру папок, позволяя им изменять содержимое этих папок?

651
user599511

У меня есть общий сетевой диск, который разделяется с помощью GPO.

Этот диск имеет некоторую структуру папок со многими вложенными подпапками, каждая из которых может содержать файлы. Я хочу:

  1. Я хочу запретить пользователям общих дисков изменять структуру папок.
  2. Я хочу, чтобы пользователи общего диска могли изменять / изменять содержимое структуры папок. Т.е. копировать / перемещать / заменять / удалять файлы, создавать новые файлы, открывать / сохранять файлы, изменять файлы.

Я бы предпочел решение, которое делает это с помощью GPO на домене. Благодарю.

0

1 ответ на вопрос

2
SimonS

This can be done by special permissions. Create a new GPO and navigate to:

Computer Config > Policies > Windows Settings > Security Settings > File System 

right-click the "File System" node and choose "Add File"

choose your root folder, then in the permission window click on "advanced" then on "add".

In this window choose your principal like domain\users, type: "allow", apply to: "files only"

choose the permissions which you want to give your users, on your selected root folder, for files only.

here's also a blog post about it: https://msdirectoryservices.wordpress.com/2012/01/13/set-ntfs-folder-permissions-using-gpo/

Edit: I had another thought about it. I wouldn't do this via GPO, since it's on a network drive. Just set those permissions on your root folder without GPO. GPO would always renew the permissions which could be bad. this just has to be set once, not everytime some computers start. You should only do stuff like this via GPO, if the folder you want to protect is on a local drive and targets more than one machine. e.g if all 200 computers of your xy department need "files only" modify permission on a root folder in their C:\

if you're doing this for your network drive without GPO, it's the same procedure like i explained above, but locally, not inside a GPO. start at "choose your root folder..."