Previous PageNext Page

Chapter 4 - Managing Data Security

Overview of Data Security

Types of Access Rights Lists

Figure 4-1. SETARL Menu - Directory ARLs, Primary List

Figure 4-2. SETARL - Directory ARLs, Extended List

Figure 4-3. SETARL Menu - VINES View, File ARL

Figure 4-4. Sample File ARL - Extended List

File System Views

VINES view
Macintosh view
UNIX view

SET VIEWS=M

Saved View

Access Rights Lists

Note: Although a user name or list name already exists in an Access Rights List (ARL), the SETARL program still allows the same entry to be made. Even if the original user has been deleted from the system, if that user name is still on the ARL, you can enter a duplicate name.

Viewing and editing ARLs from different file system views
Adding, deleting, and changing names and access rights in the Primary and Extended Lists
Copying ARLs
Testing access of a particular user to a selected directory or file

Changing Access Rights Lists on 4.x File Services from 5.x Clients

No access entries apply - user has no access.

Changing Access Rights Lists on 5.x File Services from 4.x Clients

** Error code 14 **

Primary List

Owner Field

Owner Rights

Group Field

Group Rights

World Field

World Rights

Extended List

Note: Even though a user name or a list name already exists in an Access Rights List (ARL), the SETARL program still allows you to make the same entry. Even if the original user has been deleted from the system, if that user's name is still on the ARL, you can enter a duplicate name.

Note: When searching for a StreetTalk name, you can use patterns such as Bob*@*@WCTUS to find all the people named Bob in every group in the organization. This flexibility in the use of patterns is not available in access rights lists. In ARLs, you can use a wildcard character (*) only as a placeholder for the entire Item or for both the Item and Group. You cannot use a wildcard character as a placeholder for part of the Item, Group, or Organization name. You also cannot have a specific Item, and then a wildcard for the group.

Inheritance Rules

VINES Rules

New subdirectories inherit both the directory and new file ARLs of the parent directory.
New files inherit access rights according to the parent directory's new file ARL.
When a new file or directory is created, the names and access rights in both the Primary and Extended Lists are copied to the ARL of the new file or directory.

Macintosh Rules

Owner is the person who created the folder and has complete access (See Folders, See Files, and Make Changes).
Group is the group of the creator of the folder (Owner). The individuals in that group have no access privileges.
World, which is all users on the network, has no access privileges. On the Macintosh desktop, this field is called "Everyone."

VINES Rules or Macintosh Rules

1. By selecting VINES rules, you can maintain sole control over the file service, regardless of which workstation types access the service.

2. How files inherit access rights, or privileges, as they are called on the Macintosh desktop, differs as follows:

- If you select VINES rules, new files will be protected by the New File ARL of the parent folder. Depending on how the ARL is set up, the New File ARL may differ from the ARL of the parent folder.

- If you select Macintosh rules, new files will be protected by the access privileges assigned to the parent folder.

3. Under VINES rules, new folders inherit the exact same ARL that has been assigned to the parent folder. The Owner and Group are the same, no matter who creates the new folder. Under Macintosh rules, if the creator of the folder is not the Owner of the parent folder, the Owner of the new folder will differ from the Owner of the parent folder.

Example Selecting Inheritance Rules

Changing ARLs on 4.x File Services from 5.x Clients

No access entries apply - user has no access.

Changing ARLs on 5.x File Services from 4.x Clients

** Error code 14 **

Defining Access Rights

VINES View Access Rights for a Directory

Control (C)

Search (S)

Read (R)

Write (W)

Delete (D)

VINES View Access Rights for a New File

Execute (E)

Read (R)

Write (W)

DOS Execute (E) Right for Files

Macintosh View Access Rights

See Folders (SFo)

See Files (SFi)

Make Changes (MC)

Verifying Access

1. Owner (Primary List)

2. Item@Group@Organization (An individual name in the Extended List)

3. Group (Primary List)

4. *@Group@Organization (A group name or a StreetTalk list in the Extended List)

5. *@*@Organization (All individuals in an Organization in the Extended List)

6. World (Primary List)

Example User Name on Two StreetTalk Lists

Command Summary

Change Path

Edit

Copy ARL to Target

Copy ARL from Source

Table 4-1. Copy ARL from Source

Test Access

Setting the File System View

SET VIEWS=[file_system_view]

SETATTR and SET VIEWS=

SETARL and SET VIEWS=

Accessing the SETARL Program

If you are at the DOS command line and want to manage the access rights lists, the quickest way to enter the SETARL program is to use the SETARL command from DOS. See the next section, "From DOS."
If you have just created a file service and have the Control a Service menu displayed, the quickest way to enter the SETARL program is to select the Manage Files command.

The system automatically sets the service to an available network drive and then displays the VFILES main menu. When the VFILES main menu appears, the current path is the root directory of the new file service.

From the VFILES main menu, you can create directories for users and applications and then set up the access rights lists for them. To manage the access rights, select the Set Access Rights option in the VFILES main menu. See the section, "From MSERVICE or OPERATE."

If you are managing a file service from the OPERATE or MSERVICE programs, the quickest way to the SETARL program is to display the Control a Service menu and select the Manage Files command to display the VFILES menu.

If the file service is not already set to a drive, the VFILES program automatically assigns the file service to an unused drive and then displays the VFILES main menu. If the file service is already set to a drive, the VFILES main menu appears immediately.

When the VFILES Main Menu appears on your screen, the current path is the root directory of the file service. To manage the access rights, select the Set Access Rights option in the VFILES Main Menu. See the section, "From MSERVICE or OPERATE."

From DOS

SETARL [DOS pathname] [/VIEW:file_system] [/H]

From MSERVICE or OPERATE

1. At the DOS prompt, enter MSERVICE and the name of the file service.

2. At the Manage A Service menu, select CONTROL service to display the Control A Service menu.

Figure 4-5. Control A Service Screen

3. At the Control A Service screen, select the MANAGE files option.

If the file service has not been assigned or "mapped" to a drive, the VFILES program automatically assigns the file service to a network drive that is currently unused (a letter from D through Y). The VFILES main menu appears. The root directory of the file service is the current path. In the example below, the file service is mapped to drive F; the root directory appears as F:\.

If the file service is already assigned to a drive, the VFILES Main Menu appears on the screen. The current path shows the letter of the network drive to which the file service is mapped and the root directory of the file service. In the following sample VFILES screen, the current path is F:\, the root directory of file service AdminFiles@Adm@WCTUS.

Figure 4-6. Managing VINES File Services Screen

The VFILES main menu (Managing VINES File Services) provides access to all of the SETARL, SETDRIVE, SETATTR, and V commands programs and to DOS file management commands (for changing, listing, creating, and removing directories and for deleting files). When the menu appears, option 2, Manage Directories and Files, is highlighted as a default. For more details on using VFILES, see Managing VINES Services.

4. To enter the SETARL program, select the Set Access Rights option. The SETARL menu appears with the root directory of the file service as the Path, as shown below.

Figure 4-7. SETARL Screen

Before Using Commands

1. Verify that the ARL displayed is the one you want. Check the Volume and Path fields for the name of the file service and the correct name of the file or directory.

2. If you are working with a file service that supports more than one type of native file system (for example, DOS and Macintosh), verify that the file system view shown is the one you want to use. Check the Current View field on the left side of the menu, or look at the set of access rights displayed.

3. Check the previously Saved View if you plan to edit the ARL.

Caution: Using any combination of access rights other than those shown in the tables results in no sharing capabilities among different workstation types.

Example How VINES Rights Map to Macintosh Rights

Table 4-2. Access Rights Mapping for Directories

Table 4-3. Access Rights Mapping for Files

Using Commands from SETARL

Change Path
Edit
Copy ARL to Target
Copy ARL from Source
Test Access

Change Path Command

1. Select the Change Path command from the Set Access Rights menu.

Figure 4-8. Change Path Screen

2. At the Change Path screen, enter the new path name.

To select the name from a list, press F5 to display the Select Path screen.

Figure 4-9. Select Path Screen

To display and highlight the names of parent directories, subdirectories, and files, use the left and right arrow keys. After highlighting a path name, press ENTER to select it.

After you select a name, the Set Access Rights menu is again displayed. The selected name in the Path field and the ARL of the selected directory or file are displayed in the lower part of the menu.

3. If the view you want to edit appears, press ENTER to begin editing the ARL.

If you want to edit a different view, press F4 to display the next view and then press ENTER to begin editing the ARL.

Edit Command

Figure 4-10. Edit ARL Screen

Table 4-4. Editing Keys.

Editing the Primary List

1. Use the arrow keys to position the cursor in the field you want to edit.

2. In the Owner field, press F2 to select a user name from STDA, or enter a StreetTalk name. You can enter 8-bit ASCII characters, such as accents, for item names; however, they convert to equivalent 7-bit ASCII characters. For example, the characters É, é, è, ê, ë, and e appear as e.

3. In the Group field, enter a StreetTalk name in the format *@[groupname]@[organizationname].

The edit screen is in strikeover mode so that any existing text disappears as you type. To change to insert mode, press INSERT.

The ENTER key does not function in the name fields of Owner and Group. If the StreetTalk name needs to wrap to a second line, the system wraps it.

4. To edit the access rights, press TAB to move the cursor from the name field to the first access right field. To:

- Grant an access right, type a plus sign (+ ).

- Deny an access right, type a minus sign (- ).

Do not press ENTER. After you type a plus or minus sign, the cursor automatically moves to the next field.

5. Continue to edit the access rights, using TAB to move between the name fields and the access rights and SPACEBAR to move the cursor within the access rights fields.

The on-line help text describes the other keys available to you for editing the ARL.

6. To preview the effects of your edits on another view, press F4. Remember that, except for the inheritance rules setting, you cannot edit a preview screen.

To edit the access rights settings from another view, you must:

- Return to the original edit view (press F4).

- Exit the Edit screen (press either ESC or F10).

- Change to the view to be edited (press F4).

- Select Edit.

7. If you do not want to enter any names in the Extended List, press F10 to save your edits.

If you have edited the ARL from a view that is not the currently Saved View, the system warns you and requests that you confirm the save. Highlight YES or NO as needed, and press ENTER to return to the Set Access Rights Main Menu.

To enter names in the Extended List, continue to the next section.

Editing the Extended List

1. To add a new entry to the Extended List, use the arrow keys to position the cursor in the first blank line, and press F2 to select a name using STDA.

You can also enter the StreetTalk name. The system automatically displays a line of access rights (all minus signs) when you enter a name in this list.

2. Press TAB to move to the access rights column, and type a + or - in each field.

3. To preview the effect of the changes, press F4. (The screen below shows a sample preview of the Macintosh view of a directory ARL.)

Figure 4-11. Edit ARL Screen

4. Press F4 again to return to the view you are editing.

5. When you have completed editing the list, press F10 to save your changes.

6. If you have edited the ARL from a view that is not the currently Saved View, the system warns you and requests that you confirm the save. Highlight YES or NO as needed, and press ENTER to return to the Set Access Rights main menu.

Testing User Access

The VFILES test retrieves access rights and attributes information for a particular user on a particular directory or file. In addition, the VFILES test tells you if the user is an administrator of the file service (that is, the user's name is on the AdminList of the group in which the service was created).
The StreetTalk REPORT program lets you create a user access report against one or more directories and files and provides the complete ARL and attribute settings.

Testing from Edit Mode

1. At the Edit ARL screen, press F8.

2. When the system prompts you, enter a StreetTalk name, or press F2 to select from the STDA user list.

The system displays the results of the test in the top of the menu.

3. You can continue to edit the ARL with the results displayed, or you can press ESC to make the test results disappear.

When you continue editing with the results displayed, note that the results change as you edit the entry of the user tested.

For example, in the ARL below, if you changed the Owner's Execute access in the ARL for New Files to -, the Execute right would disappear from the test results.

Figure 4-12. Edit ARL Screen

Testing from Main Menu

1. Select the Test Access command from the top of the Set Access Rights menu.

2. When the Test Access menu appears, press F2 to select a name using STDA, or enter a user name.

Figure 4-13. Test Access Screen

If Something Goes Wrong

Copy ARL to Target Command

To Copy the ARL Displayed to Other ARLs

1. From the top of the Set Access Rights Main menu, select Copy ARL to Target to display the Copy ARL to data entry screen.

Figure 4-14. Copy ARL Pathname Screen

2. Enter a path name, or press F5 to select a path name from a directory listing. If you do not enter a path name, the system assumes the current directory.

When you press F5, the Select Destination screen appears.

Figure 4-15. Select Destinations Screen

3. At this screen, use the right and left arrow keys to highlight the directories and/or files to which you want to copy the ARL. Note that the Select Destination screen follows the rules for copying. If you are copying from a file, directory names do not appear in the screen.

You can select and deselect one or more destination directories or files:

- To select a destination directory or file, press ENTER. An asterisk next to the path name indicates that it is selected.

- To deselect a destination directory or file, press ENTER again.

- To select all subdirectories and files in a directory, press F2.

4. When you are ready to copy, press F10. You return to the data entry screen, where the names selected are displayed as the ARL is copied. When the copies are made, you return to the Set Access Rights menu, where the number of ARLs copied appears.

Error Message

Please enter the path of a file. ARLs of files can be copied to ARLs of other files only.

Copy ARL from Command

To Copy from an ARL

1. Select Copy ARL from source in the SETARL menu to display the Copy ARL from data entry screen.

Figure 4-16. Copy ARL Pathname Screen

2. At this screen, enter a path name or press F5 to select a path name from a directory listing. The system defaults to the current directory if you do not enter a pathname.

When you press F5 from the Copy From screen, the Select Source menu appears.

Figure 4-17. Select Source Screen

3. At this screen, use the right and left arrow keys to highlight a source path name, and press ENTER to select it. The system copies the ARL and returns to the SETARL menu, where a message indicating that the copy has been made appears.

Note that the Select Source menu follows the copy rules. If you are copying to a directory, file names do not appear in the Select Source listing.

Error Messages

Please enter a different source name. The source and destination names must be different.

Please enter the path of a directory. ARLs of files can be copied to ARLs of other files only.

Previous PageTop Of PageNext Page