Пытаюсь разобраться с правами доступа в NTFS. Волосы на разным местах встают дыбом и шевелятся.
доки читать не пробовал?
Интересно чего курил человек, который это спроектировал. Зачем права объединены в идиотские комбинации а-ля Full, Modify, Read, Write и пр., причем Modify включает в себя Write, а не по логике наоборот ?
How Permissions WorkЗачем нужно Deny, если и так запрещено все, что не разрешено ?
затем же, зачем в access list есть permit и deny, несмотря на то что по-дефолту все запрещено (правило deny any any у cisco).
если ты даешь группе пользователей право Read/Write, но хочешь чтобы один из участников группы имел право Read only - делаешь ему Deny Write, не меняя состав группы. или по-дефолту на всю папку права Read/Write, но хочешь чтобы на одну из подпапок было право ReadOnly - делаешь только на эту папку (если нужно без наследования) право Deny Write.
Неужели просто Delete мало, и нужно еще Delete subfolders and files ?
право
Delete subfolders and files применяется только для папок, а
Delete как для папок и файлов.
Почему MS Word не сохраняет документ, если нет прав на изменение расширенных атрибутов ?!
Permissions That Are Required to Run WordИ гравный вопрос - как запретить изменение прав доступа и запуск для файлов в папке, если создатель файла _всегда_может_изменять_на_него_права_?!
One of the challenges of NTFS permissions is that it follows the discretionary access control list (DACL) model. The difficulty of the DACL model is that the creator of an object is the owner of that object and can set any permissions they choose. This can pose a major security challenge in a high security area of your file system. Unfortunately, not all users have the same level of discretion when it comes to security issues.
One of the better solutions I have come across involves scripting. You will find instructions for using the File Ownership Script Tool at HOW TO: Use the File Ownership Script Tool (Fileowners.pl) in Windows 2000. This Knowledge Base article should help you get started using the script even if you have limited scripting or programming skills.
Once you take ownership of the file or folder, the user who created the object cannot change the permissions you set unless, of course, you give them that permission. The next questions are when does the administrator take ownership, and what happens if the user changes the permissions before the administrator takes ownership. There is excellent information at Watching Folder Activity in VB.NET. You will need some programming skills and the Microsoft® .NET Framework installed, as well as Visual Studio® .NET (version 1.0 or later). This site takes you through the steps to create code that can monitor a folder for activity and direct how to respond to that activity. If you combine both of these resources, you can monitor a folder and take ownership automatically as soon as a user creates an item.
http://www.microsoft.com/technet/technetma.../HowITWorksNTFS