Chapter 25. File Sharing Control Panel

The Mac OS allows the owners of disks and folders to set the access privileges for other users that may connect to their computer over a TCP/IP, AppleTalk, or other type of network. For example, you can configure one of your hard disks to allow read-only privileges for a named group of users (they will not be able to add new files to the disk or alter and save existing files). This is usually accomplished with the File Sharing control panel, which is also scriptable (see Figure 25-1). The Mac OS allows the user to set privileges for disks and directories with File Sharing but not for individual files, which can otherwise be locked or encrypted under Mac OS 9.

File Sharing control panel
Figure 25-1. File Sharing control panel

The owner name, password, and computer name can be set in File Sharing’s Start/Stop tab (See Figure 25-1) in Mac OS 9. You can create new users and groups in the Users & Groups tab. The owner can establish disk and folder permissions for logical groups of users, depending on what type of users might have access to your computer. When you add a user to a group they inherit the group’s permissions when they log on to your machine. You can also turn Program Linking on or off with File Sharing. This is a powerful feature that allows users to execute your applications on their connected computer, including AppleScript applets. But they cannot use ...

Get AppleScript in a Nutshell now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.