Chapter 12

Networking and Protecting Your MacBook

image

macOS enables you to share files, printers, scanners, and optical drives across networks. macOS includes many security features for protecting your MacBook against network and Internet threats.

Transfer Files Using AirDrop

Connect to a Shared Folder

Share a Folder

Connect to a Shared or Network Printer

Share Your MacBook’s Printer

Connect Remotely via Back to My Mac

Turn Off Automatic Login

Enable and Configure the Firewall

Choose Privacy Settings

Install and Use Antivirus Software

Recognize and Avoid Phishing Attacks

Transfer Files Using AirDrop

macOS’s AirDrop feature enables you to transfer files easily via wireless between your MacBook and nearby Macs or iOS devices via drag and drop. Activating AirDrop in a Finder window shows you available Macs and iOS devices, and you can drag a file to the Mac or iOS device to which you want to send it. Similarly, nearby Macs and iOS devices can send files to your MacBook via AirDrop, and you can decide whether to accept or reject each file.

Transfer Files Using AirDrop

image

Send a File via AirDrop

001.eps Click Finder (image) on the Dock.

A Finder window opens.

Note: If AirDrop does not appear in the sidebar, click Go on the menu bar and then click AirDrop. If AirDrop does not appear on the Go menu either, your Mac is not compatible with AirDrop.

002.eps Click AirDrop (image).

The AirDrop screen appears.

003.eps Click Allow me to be discovered by.

image

The pop-up menu opens.

004.eps Click No One, Contacts Only, or Everyone to specify which people’s Macs and iOS devices can see your MacBook via AirDrop.

005.eps Press image + image .

image

A second Finder window opens.

006.eps Arrange the Finder windows so you can see both.

007.eps Drag the file to the icon for the Mac or iOS device you want to send it to.

The Mac or iOS device prompts the user to accept the file.

If the user accepts the file, the Finder sends the file to the recipient.

Note: If the Mac or iOS device declines the file, the Finder displays a dialog telling you so.

image

Receive a File via AirDrop

When someone sends you a file via AirDrop, a dialog appears on-screen.

001.eps Click the appropriate button:

dga.eps Click Save & Open to save the file and open it for viewing.

dgb.eps Click Decline to decline the transfer.

dgc.eps Click Save to save the file so you can use it later.

If you save the file, your MacBook receives the file and stores it in the Downloads folder.

If you click Save & Open, your MacBook opens the file in the default application for that file type, if it has a default application. You can then work with the file.

Connect to a Shared Folder

macOS enables each Mac to share folders with other computers on the same network. You can connect your MacBook to other Macs and work with the files in their shared folders.

The user who sets up the sharing can assign other users different levels of access to the folder. Depending on the permissions set for the folder, you may be able to view files in the folder but not alter them, or you may be able to create, change, and delete files in the folder.

Connect to a Shared Folder

image

001.eps Click Finder (image) on the Dock.

A Finder window opens.

002.eps If the Shared category is collapsed, position the pointer over it, and then click Show to expand it.

003.eps Click the computer that is sharing the folder.

004.eps Click Connect As.

image

The Connect As dialog opens.

005.eps Click Registered User (image changes to image) if you have a user account on the Mac. Otherwise, click Guest (image changes to image) and go to step 8.

006.eps Type your username.

007.eps Type your password.

dga.eps You can click Remember this password in my keychain (image changes to image) if you want to store your password for future use.

008.eps Click Connect.

image

The Connect As dialog closes.

dgb.eps The shared folders appear.

Note: The shared folders you see are the folders you have permission to access. Other users may be able to access different folders.

009.eps Click the folder whose contents you want to see.

010.eps Work with files as usual. For example, open a file to work on it, or copy it to your MacBook.

image

011.eps When you finish using the shared folder, click Eject (image) next to the computer’s name in the Shared list.

Your MacBook disconnects from the computer sharing the files.

dgc.eps You can also click Disconnect to disconnect from the sharing computer.

Share a Folder

macOS enables you to share folders on your MacBook with other users on the network. You can set different permissions for different users, such as allowing some users to change files, allowing other users to view files but not change them, and allowing other users no access at all.

To share a folder, you enable and configure the File Sharing service in Sharing preferences. System Preferences sets up sharing for Macs automatically. You can configure sharing for Windows users manually.

Share a Folder

image

001.eps Press image + click System Preferences (image) on the Dock.

The contextual menu opens.

002.eps Click Sharing.

System Preferences opens and displays the Sharing pane.

003.eps Click File Sharing (image changes to image).

System Preferences turns on file sharing.

004.eps Click Add (image) under the Shared Folders box.

image

A dialog for choosing a folder opens.

005.eps Click the folder you want to share.

006.eps Click Add.

Note: Each user account includes a drop box folder into which other people can place files and folders but whose contents only you can see. To access this folder, click Finder (image) on the Dock, click Go on the menu bar, and then click Home. Click or double-click Public, depending on the Finder view, and then click or double-click Drop Box.

image

The dialog closes, and the folder appears in the Shared Folders list.

007.eps Click the folder.

008.eps Click Everyone.

009.eps Click the pop-up menu (image) and select the appropriate permission. See the tip for details.

010.eps If you need to configure sharing for Windows users, click Options. Otherwise, go to step 16.

image

The Options dialog opens.

011.eps Click Share files and folders using SMB (image changes to image).

012.eps Click On for a user (image changes to image).

The Authenticate dialog opens.

013.eps Type the user’s password.

014.eps Click OK.

The Authenticate dialog closes.

015.eps Click Done.

The Options dialog closes.

016.eps Click Close (image).

System Preferences closes.

Connect to a Shared or Network Printer

macOS enables you to connect to shared printers and network printers and print documents to them. By sharing printers, you can not only enable each computer to print different types of documents as needed, but also reduce the costs of printing.

To use a shared printer or network printer, you first set it up on your MacBook using Printers & Scanners preferences. After you set up the printer, you can access it from the Print dialog just like a printer connected directly to your MacBook.

Connect to a Shared or Network Printer

image

001.eps Click Apple (image).

The Apple menu opens.

002.eps Click System Preferences.

The System Preferences window opens.

003.eps Click Printers & Scanners (image).

image

The Printers & Scanners pane appears.

004.eps Click Add (image).

image

The Add dialog opens.

005.eps Click Default (image).

dga.eps Click Windows (image) to see printers shared by Windows PCs on the network.

The Default pane appears.

006.eps Click the printer.

dgb.eps You can change the name shown in the Name box.

dgc.eps You can change the location shown in the Location box.

007.eps Click Add.

The Add dialog closes.

image

Note: If System Preferences prompts you to download and install software for the printer, click Download & Install.

The printer appears in the Printers & Scanners pane.

008.eps Click Default printer (image) and click the printer to use as the default. Your options are Last Printer Used or one of the printers you have added.

009.eps Click Default paper size (image) and click the default paper size, such as US Letter.

010.eps Click Close (image).

System Preferences closes.

Share Your MacBook’s Printer

macOS’s Printer Sharing feature enables you to share a printer connected to your MacBook with other computers on your network. You can choose what users can print on the printer and block other users from accessing the printer.

To share the printer, you turn on the Printer Sharing feature in Sharing preferences, specify the printer, and set permissions for using it. Permitted users can access the printer from the Print dialog on their computers any time your MacBook is running.

Share Your MacBook’s Printer

image

001.eps Click System Preferences (image) on the Dock.

Note: If System Preferences (image) does not appear on the Dock, click Apple (image) to open the Apple menu and then click System Preferences.

The System Preferences window opens.

002.eps Click Sharing (image).

image

The Sharing pane opens.

003.eps Click Printer Sharing (image changes to image).

macOS turns on Printer Sharing and displays the Printer Sharing preferences.

004.eps Click each printer you want to share (image changes to image).

dga.eps macOS makes the printer available to everyone by default.

005.eps To control who can use the printer, click Add (image).

image

A dialog for selecting users opens.

006.eps Click the user you want to add.

Note: To select multiple users, click the first, and then press image + click each of the others.

007.eps Click Select.

image

dgb.eps Each user appears in the Users list.

dgc.eps macOS automatically changes the Everyone item from Can Print to No Access when you add specific users.

008.eps Click Close (image).

System Preferences closes.

Connect Remotely via Back to My Mac

macOS’s Back to My Mac feature enables you to connect one Mac remotely to another Mac across the Internet. You can use Back to My Mac either to use your MacBook to control another Mac remotely or to use another Mac to control your MacBook. Back to My Mac lets you view the remote Mac’s screen and control the Mac.

Back to My MacBook requires you to have set up your iCloud account on both the remote Mac and the Mac you use to connect.

Connect Remotely via Back to My Mac

image

Turn On Screen Sharing and File Sharing

001.eps Press image + click System Preferences (image) on the Dock.

The contextual menu opens.

002.eps Click iCloud.

System Preferences opens and displays the iCloud pane.

003.eps Click Back to My Mac (image changes to image).

image

dga.eps If file sharing, screen sharing, or both are not turned on, macOS prompts you to turn on sharing.

004.eps Click Details.

Note: The Details button does not appear if file sharing and screen sharing are already turned on. If you need to configure sharing, click Show All (image) and then click Sharing (image) to display the Sharing pane.

The Details dialog opens.

005.eps Click Open Sharing.

image

The Sharing pane opens.

006.eps Click Screen Sharing (image changes to image).

The Screen Sharing controls appear.

007.eps Click Only these users (image changes to image).

008.eps Verify that the list shows the users who will need to connect. You can click Add (image) to add a user or Remove (image) to remove a user.

image

009.eps Click File Sharing (image changes to image).

The File Sharing controls appear.

010.eps Verify that the Shared Folders list shows the folders you want to share.

011.eps Verify that the Users list shows the users who will need to connect. You can click Add (image) to add a user or Remove (image) to remove a user.

012.eps Click Close (image).

System Preferences closes.

After enabling Back to My Mac on both the remote Mac and the local Mac, you can use Back to My Mac to connect remotely across the Internet.

You use the Sharing section of a Finder window to establish the connection. The remote Mac’s desktop appears in a Screen Sharing window on the Mac you are using. You can control the remote Mac using the mouse and keyboard, enabling you to work much as if you were sitting at it, although screen updates appear more slowly.

image

Use Screen Sharing via Back to My Mac

001.eps Click Finder (image) on the Dock.

A Finder window opens.

002.eps If the Shared category is collapsed, position the pointer over it and click Show to expand it.

003.eps Click the Mac to which you want to connect.

image

dgb.eps Finder establishes the connection.

dgc.eps The remote Mac’s shared folders appear.

004.eps Click Share Screen.

image

A Screen Sharing window opens, showing the remote Mac’s desktop.

005.eps Work on the remote Mac using normal techniques.

dgd.eps You can click Scaling (image) to scale the remote screen to the window.

dge.eps To transfer data via the clipboard, click Clipboard (image) and click Get Clipboard or Send Clipboard.

Note: Click View on the menu bar and then click Enter Full Screen to view the remote Mac full screen.

image

End Your Screen Sharing Session

001.eps Click Screen Sharing.

The Screen Sharing menu opens.

002.eps Click Quit Screen Sharing.

The Screen Sharing window closes.

Turn Off Automatic Login

macOS enables you to set your MacBook to log in one user account automatically, bypassing the login screen. Automatic login is convenient if you are the only person who can access your MacBook, but it is more secure to disable automatic login so each user must log in.

To enable or disable automatic login, you use the Login Options pane in Users & Groups preferences. You must have an administrator account or provide administrator credentials to change these options.

Turn Off Automatic Login

image

001.eps Press image + click System Preferences (image) on the Dock.

The contextual menu opens.

002.eps Click Security & Privacy.

System Preferences opens and displays the Security & Privacy pane.

003.eps Click General.

The General pane appears.

004.eps Click the lock icon (image).

image

The authentication dialog opens.

005.eps Type your password.

006.eps Click Unlock.

image

System Preferences unlocks the preferences (image changes to image).

007.eps Click Disable automatic login (image changes to image).

008.eps For greater security, click Require password timing after sleep or screen saver begins (image changes to image).

009.eps Click the pop-up menu (image) and click immediately or a short time: 5 seconds, 1 minute, or 5 minutes.

010.eps Click Advanced.

image

The Advanced dialog opens.

011.eps Click Log out after N minutes of inactivity (image changes to image).

012.eps Click the text box and enter the period of inactivity.

013.eps Click OK.

The Advanced dialog closes.

014.eps Click Close (image).

System Preferences closes.

Enable and Configure the Firewall

macOS includes a firewall that protects your MacBook from unauthorized access by other computers on your network or on the Internet. macOS enables you to configure the firewall to suit your needs. To configure the firewall, you use the Firewall pane in Security & Privacy preferences.

Even if your Internet router includes a firewall configured to prevent Internet threats from reaching your network, you should use the macOS firewall to protect against threats from other computers on your network.

Enable and Configure the Firewall

image

001.eps Press image + click System Preferences (image) on the Dock.

The contextual menu opens.

002.eps Click Security & Privacy.

System Preferences opens and displays the Security & Privacy pane.

003.eps Click the lock icon (image).

The authentication dialog opens.

004.eps Type your password.

005.eps Click Unlock.

image

System Preferences unlocks the preferences (image changes to image).

006.eps Click Firewall.

The Firewall pane appears.

007.eps If Firewall: Off appears, click Turn On Firewall.

The firewall starts, and Firewall: On appears.

008.eps Click Firewall Options.

image

The Firewall Options dialog opens.

009.eps Click Automatically allow built-in software to receive incoming connections (image changes to image) if you want to allow your MacBook’s built-in software to receive incoming connections.

010.eps Click Automatically allow downloaded signed software to receive incoming connections (image changes to image) if you want to prevent apps you have installed from accepting connections automatically across the network.

011.eps Click Enable stealth mode (image changes to image) if you want to prevent your MacBook from responding to network test applications.

012.eps To allow incoming connections to a particular application, click Add (image).

image

The Add dialog opens.

013.eps Click the app.

014.eps Click Add.

The Add dialog closes.

System Preferences adds the app to the list.

015.eps Click OK.

The Firewall Options dialog closes.

016.eps Click Close (image).

System Preferences closes.

Choose Privacy Settings

The settings in the Privacy pane in Security & Privacy preferences enable you to control which apps can request access to potentially sensitive information, such as the MacBook’s location, and files, such as contacts and photos. You can also specify whether to send diagnostic data and usage data to Apple to help it improve macOS and its apps, and whether to share app crash data with the developers of the apps in question.

Choose Privacy Settings

image

001.eps Press image + click System Preferences (image) on the Dock.

The contextual menu opens.

002.eps Click Security & Privacy.

System Preferences opens and displays the Security & Privacy pane.

003.eps Click the lock icon (image).

The authentication dialog opens.

004.eps Type your password.

005.eps Click Unlock.

image

The controls in the Security & Privacy pane become enabled.

006.eps Click Privacy.

The Privacy pane appears.

007.eps Click Location Services.

The Location Services preferences appear.

008.eps Click Enable Location Services to enable (image) or disable (image) the feature.

009.eps If you enable Location Services, click each app or service in the list to enable (image) or disable (image) its use of Location Services.

010.eps Click Details.

image

The Allow System Services to Determine Your Location dialog opens.

011.eps In the upper section, click each item to enable (image) or disable (image) it from determining your location.

012.eps Click Show location icon in menu bar when System Services request your location to enable (image) or disable (image) the icon from appearing in the menu bar.

013.eps Click Done.

image

014.eps Click Contacts (image) and choose which apps can access contacts. Similarly, choose settings for Calendars (image), Reminders (image), Photos (image), Facebook (image), and Accessibility (image).

015.eps Click Analytics (image).

016.eps Click Share Mac Analytics to enable (image) or disable (image) sharing diagnostic and usage data.

017.eps If you select Share Mac Analytics, you can click Share with App Developers to enable (image) or disable (image) sharing data with third-party developers.

018.eps Click Share iCloud Analytics to enable (image) or disable (image) sharing iCloud usage data.

019.eps Click Close (image).

System Preferences closes.

Install and Use Antivirus Software

macOS includes a built-in antimalware app called XProtect that helps protect your MacBook against malware — malevolent software — hidden in incoming files, such as files you download or that others send you. It is a good idea to augment this protection by installing and running antivirus software. You can buy and download antivirus software from the App Store, buy it on a disc from a physical store or by mail order, or download it from a website. Some antivirus apps are free; others are paid software.

You install the antivirus software in a similar way to other apps. However, after installing the antivirus software, you may need to restart your MacBook.

Choose Antivirus Software

You can choose from a wide range of antivirus apps to protect your MacBook. Some apps provide only features for scanning files for viruses, whereas other apps are complete security suites. You will likely want protection against malware, which includes viruses; Trojan-horse programs that hide harm in a program that seems helpful; and rootkits, which try to build secret entry points into your computer.

Protection against spyware programs, adware programs, and infected websites is useful, too. Features designed to detect phishing messages may also be helpful, but you may find that Mail’s Junk Mail feature and your own evaluation give you more consistent results.

When choosing an antivirus software package, assess your needs and decide whether you need a full-blown security app or simply an antivirus app. Bear in mind that the larger the antivirus or security app, the more likely it is to cause your MacBook to run more slowly, because most antivirus and security apps need to run all the time to keep your MacBook safe.

Download and Install an Antivirus App

image

The App Store enables you to browse a wide range of antivirus apps. You can examine detailed descriptions of each app’s features, see user ratings, and read user reviews.

To download and install an antivirus app from the App Store, first click App Store (image) on the Dock. If the App Store icon does not appear on the Dock, click Launchpad (image) on the Dock and then click App Store (image) on the Launchpad screen.

Click in the Search box in the upper-right corner of the screen, type antivirus, and press image. The App Store app displays a list of results. You can click a result to display the details screen for the app.

To buy an app, click Get for a free app or the price button for a pay app. For either type of item, click Install App. If the App Store app prompts you to sign in, type your password and click Sign In. The App Store app then downloads the app. When the download finishes, macOS installs the app automatically.

You can buy antivirus apps in stores or download them from the websites of antivirus companies. Before downloading any app from a website, verify that the app is genuine and that it gets good reviews on third-party sites — if not, it may be dangerous.

Run Your Antivirus App and Update It If Necessary

image

After installing your antivirus app, run it by clicking Launchpad (image) on the Dock and then clicking the app’s icon on the Launchpad screen.

When you first run an antivirus app, it may prompt you to update its virus signatures or malware signatures. If this happens, give the command for proceeding with the update. For example, in Bitdefender Virus Scanner, select (image) Update malware signatures before scanning and then click Finish.

Scan Your MacBook with Your Antivirus App

image

Many antivirus apps run continuously in the background, automatically monitoring what happens on your MacBook. Other apps you run as needed; for example, if you suspect that your MacBook has contracted malware, you can run a scan to detect and remove it.

Most antivirus apps enable you to choose which areas of your MacBook to scan and how deeply to scan them. For example, in Bitdefender Virus Scanner, you can click Scan Critical Locations to scan important locations and folders such as the main Library folder and the main Applications folder; click Deep System Scan to scan your MacBook in depth; or click Scan a Custom Location to specify the location you want to scan.

What effect running a deep scan has on your MacBook’s performance depends on the antivirus app and on your MacBook’s configuration. But in general, it is best not to use your MacBook for intensive computing tasks while running a deep scan. Instead, set a deep scan running when you are planning to leave your MacBook for a while.

Recognize and Avoid Phishing Attacks

Phishing is an attack in which someone tries to make you provide valuable information such as bank account numbers, login names, passwords, or credit card numbers. After acquiring this information, the phisher either uses it directly — for example, withdrawing money from your bank account — or sells it to other criminals.

Mail and Safari help protect you against phishing. Mail scans your incoming messages and marks any that may be phishing. Safari enables you to check a website’s digital certificate to make sure it is valid.

Recognize and Avoid Phishing Attacks

image

Recognize a Phishing E-Mail Message

001.eps In Mail, open the message.

002.eps Look for signs of phishing:

dga.eps Mail has detected suspicious signs in the message.

dgb.eps The message does not show your name as the recipient.

dgc.eps The message has a generic greeting, such as Dear Customer, or no greeting at all.

dgd.eps The message claims you need to take action, such as clearing a security lockout or reenabling your account.

dge.eps The message contains links it encourages you to click.

image

003.eps Position the pointer over a link but do not click.

dgf.eps A ScreenTip appears showing the address to which the link leads.

image

Examine the Digital Certificate for a Website

001.eps Click Safari (image) on the Dock.

002.eps Click the address box.

003.eps Type the address of the website and press image.

004.eps Click the padlock icon (image).

Note: Safari displays the padlock icon when you have connected securely to a website. The address of a secure connection starts with https:// instead of http://. You can view the full address by clicking the address box. A secure connection does not mean that the website is safe.

A dialog opens.

005.eps Click Show Certificate.

image

The dialog expands, showing the details of the digital certificate that identifies the website.

006.eps Verify that the certificate is valid.

007.eps Click OK.

The dialog closes.

008.eps If you are convinced that the website is genuine, log in to it.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset