This chapter takes us into the next layer of security, File System Security. The objectives important to this chapter are listed on page 5-1:
Key Concepts:Identify How File System Security WorksA user may be assigned rights to files and/or directories. All rights discussed in this chapter are File System rights. DO NOT confuse these rights with NDS rights, which we will discuss later. The rights that may be assigned are described in the chart on page 5-3. Rights are applied to objects in the file system, which has hierarchical levels. Rights that apply at one level are usually passed on to lower levels, or inherited. Let's begin with a description of each:
We decided in a previous class that the rights could be remembered with the "acronym" WRMFACES (pronounce it "worm faces"). The default rights granted to certain users are described on page 5-4:
Page 5-5 does not belong in this chapter. It discusses NDS rights that are assigned when a server is created. We will not discuss this page at this time. A chart of the rights needed by a user to perform certain tasks appears on page 5-6. An odd example is that a user may need W,C,E, and M rights just to edit an existing file. This is because some software products, when editing, actually Create a new temporary file, Write to that file, then Erase the old file, and Modify the new file to have the original filename. Trustees are introduced on page 5-7. A trustee is any object
listed on a directory or file's ACL. The ACL is the Access Control
List, which specifies who may have what kind of rights
to the directory or file. An ACL is a trustee list. This leads us to ask,
how do you get to be a trustee? A User may be placed on an ACL directly,
or may be made a trustee through the other objects listed on page 5-9.
Inheritance means passing rights from a higher level down to a lower level. See the diagram on page 5-13. The trustee in this diagram is given rights to a directory that has subdirectories. Her rights apply to all subdirectories and files contained by the original directory. You may, however, block inherited rights. One way is to make a specific assignment of rights at a lower level. The assignment at any level will override most rights that would have been inherited from a level above. A limitation on this is that the Supervisor right may not be blocked by a new assignment at a lower level. Another method of blocking rights is the use of the Inherited Rights
Filter, which limits what rights may be inherited from above. The User will inherit the R, W, and F rights for the ACCTNG and dB directories. For the REP directory, the W right is blocked. The User inherits only those rights assigned above that are not blocked by the IRF. The situation is more complex if the the user is a member of a group. In the example on page 5-18, a Group is assigned R, W, C, E, and F rights to the SHARED directory. An IRF is applied to the ACCTNG directory that blocks all but S, R, and F rights. (Note: an IRF can be set to block any combination of rights, except the S right.) The Group will then have only R and F rights with respect to the ACCTNG directory. A User, EAlder, is a member of the Group. EAlder is made a Trustee of the ACCTNG directory, and granted W and M rights to it. (An IRF does not affect rights that are assigned below it.) How many rights does EAlder have with respect to the ACCTNG directory? Four: W, M, R, and F. EAlder is personally granted two rights, and also inherits two more, as a member of the Group. This composite group of rights, gained through any and all means, is called the User's Effective Rights. Design File System RightsIt is preferred to assign rights in a top-down order:
One person's rights may be set as equivalent to another user's rights. This is meant to be done as a temporary measure, for instance, when someone takes on the work duties of another during the other's short absence. It is dangerous to do this sort of assignment, since the rights no longer exist if the absent worker is deleted. In general, remember that:
To plan the rights that should be given to users, consider the hierarchical
diagram on page 5-27. Plan from the top down. We might summarize the rules
on this page as:
The list of priorities on page 5-28 is good to know. Grant rights to
users with the following order of methods:
Design File and Directory Attribute SecurityThe last concept in this chapter is Attribute Security. This is yet another level of security that can override the previous levels. Attributes are specific properties of files and directories. The chart on pages 5-32 and 5-33 lists possible Attributes for files, and the shorter chart on page 5-34 lists possible Attributes for directories. If these Attributes are applied, permissions at other levels are ignored if contradicted. |