eXtensions - Friday 14 October 2016


System Preferences in macOS, Sierra: Sharing


apple and chopsticks



advertisement


By Graham K. Rogers



There have been several changes to System Preferences in the new release of macOS, Sierra. The preferences pane for Sharing has seen little change. Sharing provides settings for users to control access to and from other devices.


The preference panel for Sharing retains the interface from the update to OS X 10.10, with similar content and features as before. Depending on the computer, some features may not be available. All of these preferences work with Security & Privacy (and other) Preferences to enable specific connection methods to be used and to activate the necessary links when needed: for example, when we join networks and link to devices, like printers.


DVD or CD Sharing

New Macs no longer have optical drives, so a sharing option - like the CDs & DVDs preferences - is no longer available.

With the shift to Wi-Fi downloads of applications and macOS, such an option may no longer be needed on newer machines.


Screen Sharing

Screen Sharing is a form of virtual network computing (VNC). I can work on another computer on my home network that has this activated. Remote Internet access is possible, although this means some careful manipulation of settings if a router intervenes because of the different IP numbers allocated by an ISP and the router.


Screen Sharing


When the checkbox is selected, a green light is shown in the information panel and details of how to connect (IP number and Computer name) are shown. A "Computer Settings" button allows a user to limit access to the computer using this type of connection.


Screen Sharing
Controlling a MacBook from the MacBook Pro


Connections are made by clicking on the computer name if it can be seen in the Finder panel (or using the IP number of the computer with a VNC prefix (e.g. vnc://172.102.0.241 - my office network) in the "Go" menu, Connect to Server), I can work on the target computer as if it were my own: exactly as if I am sitting in front of that computer.

Screen Sharing Sharing a screen requires the permission of the second user (or settings to be left open). The full desktop of the remote machine appears on the master computer and all operations can be run from there. A Screen Sharing icon also appears in the Dock and the connection can be quit using this.

It is also possible (and easier perhaps in some cases) for a user to access a remote computer using the feature, Back to my Mac, that can be turned on in iCloud Preferences.

One purpose of such remote access is to assist another user by working on the remote computer, for demonstration or diagnosis. Anyone who has tried to advise someone on the telephone about what to move, what to open, what to trash, will realize how hampered we are by the lack of visual input. Moving the cursor for the other user, opening the correct panels, is more effective.

It is now possible for files to be dragged from the target screen to the desktop. It is also possible to send a file to the target computer. An example might be an image of settings to allow comparison by the second user. Airdrop is also an option if two computers so-equipped are being used, but that would only be for those on the same network.

To stop the connection we use the Screen Sharing menu and deselect the checkbox. The Dock icon may also be used: select Quit. See also Remote Management (below). I normally keep this Screen Sharing unchecked (in Sharing and in iCloud) for reasons of security and to access the feature only when needed. For simple file transfers between computers, I prefer to use the Public folder (see below) or AirDrop.


File Sharing

File Sharing activates what Apple calls the "Public Folder". Files placed in here can be seen by all users on the network. The Public Folder also contains a Drop Box in which users place files. The contents will not be visible. This is to prevent another user examining private communications that use this method: once in, only the account owner can use the file.


File Sharing


An Options button brings up a panel with the types of connection that are available: AFP and SMB. These are made active using checkboxes. There is no longer a warning concerning password use with SMB as in earlier versions of OS X. Activating this for any account needs the password for that specific account. There is a warning about use of Windows users' account passwords on the Mac. A list of users below has a checkbox beside each name to allow a Windows connection.

The main panel lists the users and the type of access (Read & Write, Read Only, Write Only). It is possible to add new folders, new users and new groups using the + icon below (the - is for removal). Spotlight was shown as a User in the list in earlier installations with Read Only access. This is no longer listed on my installation.


Printer Sharing

Earlier, my home office was upstairs, but I tended to work downstairs. However, when I had a printer I did not want to carry it down when working, nor did I want the clutter of a second printer.

Printer Sharing allows users to have a single printer, for example attached to an iMac using USB and to print via the LAN. In that situation, the Printer Sharing option is turned on for the iMac. A button to the center and right of the pane allows direct access to the Printers & Scanners preferences panel.

Two data panels list any printers that have been connected. More may be added using a checkbox. The second panel lists those who are allowed access. In my case, Everyone is shown, but I may add a specific account or user (or other) using the panel revealed by pressing the + icon.


Remote Login

Remote Login works with the Finder. It is similar to File Sharing. When active, a user can log in to the computer from another on the network. There are overlaps here with other types of sharing, such as Screen Sharing (above).


Remote Login


The Finder "Go" menu uses several ways to connect quickly to folders on the user's computer or to remote devices using "Connect to Server" (Command + K) which reveals a panel.


Remote Login


We may then browse for another computer using SSH or SFTP. Earlier the connection was via user name plus the IP number (e.g. ssh graham@192.168.10.10). Over the years, I have found this feature really useful when running a couple of Macs on a network, giving me the ability quickly to access, copy or transfer files between the computers. With recent changes to the operating system, it is now easier to use "Shared Devices" in the Finder menu.


Remote Management

Remote Management works in conjunction with the Apple program, Remote Desktop. This helps those running a network of Macs, such as in a school Lab, to control the functions of those computers from a master computer.

When Remote Management is first selected, a panel is opened automatically (it may also be seen by pressing the Options button) that allows a user to select certain functions. This supersedes Screen Sharing which is disabled if Remote Management is selected.

A button in the top half of the information screen is marked Computer Settings. This reveals a panel with several options, including Screen sharing items. There are three checkboxes:

  • Show Remote Management status in menubar;

  • Anyone may request permission to control screen; and

  • VNC viewers may control screen with password (a box is alongside for this).

Four boxes below allow entering of computer information for display in a System Overview report.

Like Screen Sharing, in the lower section of the information panel a user may select to allow either All or Only specific users to be granted access. Users can be added or removed using + and - icons beneath the user-list panel.


Remote Apple Events

Remote Apple Events is not a way to track announcements from Cupertino about new products, but, according to the preference pane, "Allows applications on other Macs to send Apple Events to the user's computer."

Events can be initiated by programs or Apple Scripts and are a way to use the resources of one computer from another, such as shutting down or opening a file. A simple example from the past is the command to print (this now has a specific Sharing panel). This type of feature would be more common in an office where several Macs are used and the sharing of data and resources is integrated into operations.

A 2006 document on AppleScript by William R. Cook et al (available online as a PDF), contains several pages (9-13) that may provide some useful background.


Internet Sharing

Internet Sharing can be useful if a home has limited networking resources: for example a router with a single port, or a computer with no wifi. It is useful also if the internet is inaccessible by normal means. This has been updated with the arrival of the Personal Hotspot feature on iOS devices. When this is activated, a warning panel appears concerning disruption to a network if this is unauthorised.

Input to a computer can be from one of a number of sources. On my MacBook Pro options are: iPhone, Wi-Fi, Thunderbolt FireWire, Thunderbolt Bridge, Bluetooth PAN. Ethernet may also be available for those users whose computers have these ports. Older computers may also have a Firewire option. Internet Sharing cannot be turned on until a specific output port (or method) is selected.


Internet Sharing


That incoming signal can be routed to another device (or devices) - as Output - via a port that is different from Input.

Note: When the Personal Hotspot feature of an iPhone is used and the WiFi icon in the menubar is used to connect to that device, the Internet Sharing panel does not change when a connection is made.

A possible scenario is that a computer with no wifi can be connected to a machine that has a wifi antenna (data in) using a direct Ethernet cable. Also, in the past, when I was testing a computer with wifi, but had no spare cable in the room I was using, I could connect my computer to the router with an Ethernet cable and then create a wifi network on that Mac that the second computer could link to.

More up to date, for some users of course, is the use of iOS devices and turning on Personal Hotspot. The Mac will link to this and it behaves like a Wi-Fi network.


Bluetooth Sharing

Bluetooth Sharing covers the downloading or uploading of files from devices equipped with this feature. This panel was redesigned in Mountain Lion

There are two main parts to the panel. The top section deals with file transfers and has a button with options about actions to be taken (Accept and Save, Accept and Open, Ask What to Do, Never Allow). A second button enables the selection of a folder for transfers. The default folder is Downloads, but there is an option for Other, allowing a user to select any suitable location.


Bluetooth Sharing


The other part of the main panel is for users to decide on actions when other Bluetooth devices browse the computer. A button has the default, Ask What to Do with options of Always Allow and Never Allow. A second button indicates the folder that such browsing devices may access. The default is Public (see File Sharing above) with an Option for Other, allowing a user to select any suitable location.

A button at the bottom of the panel allows a user to open the Bluetooth preferences panel.


See Also:


Graham K. Rogers teaches at the Faculty of Engineering, Mahidol University in Thailand. He wrote in the Bangkok Post, Database supplement on IT subjects. For the last seven years of Database he wrote a column on Apple and Macs. He is now continuing that in the Bangkok Post supplement, Life. He can be followed on Twitter (@extensions_th)


advertisement



Google


Made on Mac

For further information, e-mail to

information Tag

Back to eXtensions
Back to Home Page