Securing Safari: How to run Apple’s Web browser securely
Image 1 of 7
Picking the right Safari download
Despite Apple’s claim that its engineers “designed Safari to be secure from day one,” researchers have already found several dangerous flaws in the new Safari for Windows browser.rn
These flaws can be used to launch drive-by malware downloads if a user is lured to a malicious Web site.rnrn
Here are several steps you can take to disable various features in Safari to reduce the risk of hacker attacks.rn
On Apple’s Safari download site, Windows users have two choices — Safari bundled with QuickTime or Safari as a standalone download.rn
If you wish to beta test the new browser, avoid the QuickTime bundle, which could potentially introduce additional security risks.rn
You can download the browser without giving your e-mail address to Apple.
Installation choices
During the Safari for Windows installation process, Apple gives you the option to install the Bonjour networking service and a software update utility that helps with the patching/updating process.rn
For security reasons, uncheck the Bonjour service installation. There have been serious code execution holes found in this service.rn
Install the Apple Software Update tool to ensure you receive fixes and security patches automatically.
Pop-up blocking
This screen is taken from Safari on the Mac but it also applies to the Windows version.rn
On Safari for Windows, choose Edit and ensure that Block Pop-up Windows is checked. rn
The shortcut for this is Ctl+Shift+K.
rn
This option will prevent sites from opening another window through the use of scripting, or active content.rn
You should be aware that while pop-up windows are often associated with advertisements, some sites may attempt to display content relevant to your usage of the site in a new window.rn
Therefore, setting this option may disable the functionality of some sites.rn
Source: CERT/CC (Computer Emergency Response Team Coordination Center).
Downloading and opening files
On the Mac OS (screenshot), choose Safari > Preferences. On Safari for Windows, choose Edit > Preferencesrn
In the General tab, you can set up many options such as Save downloaded files to: and Open “safe” files after downloading.rn
CERT/CC recommends that you save downloaded files to a temporary folder that you create for downloading files. rn
For security reasons, be sure to uncheck the Open “safe” files after downloading option.
Beware the auto-fill feature
Move next to the AutoFill tab to select what types of forms your browser will fill in automatically. rn
In general, CERT/CC recommends against using AutoFill features because if someone can gain access to your computer, or to the data files, then the AutoFill feature may permit them even easier access to other sites that they would not otherwise have the ability to access. rn
However, if used with appropriate protective measures, it may be acceptable to enable AutoFill. rn
On the Mac, use filesystem encryption software such as OS X FileVault to provide additional security for files that reside your home directory.
Plug-ins, JavaScript and cookies
The Security tab includes the most important settings to help reduce the risk of drive-by downloads.rn
The Web Content section permits you to enable or disable various forms of scripting and active content. CERT/CC recommends disabling the first three options in this section, and only enabling them when you require the functionality of these features.rn
You should select the Block Pop-up Windows to prevent sites from opening another window through the use of scripting, or active content. However, be aware that while pop-up windows are often associated with advertisements, some sites may attempt to display content relevant to your usage of the site in a new window. Setting this option may therefore disable the functionality of some sites.rn
Use Safari without plug-ins and Java by disabling the options Enable plug-ins and Enable Java. rn
It is also safer to disable JavaScript. However, many web sites require JavaScript for proper operation.rn
You can also disable cookies and view or remove cookies that have been set. rn
CERT/CC recommends disabling cookies and enabling them only when you visit a site that requires their use. At this point, you should determine if the site is trustworthy (i.e., contains no malicious content and is securely designed) and determine whether you want to allow cookies to access the site’s content. After you are finished visiting the site, we recommend disabling cookies until you need to access a site that requires cookies. rn
You can limit cookies to the sites that you navigate to by selecting the option Only from sites you navigate to. This will permit sites that you visit to set cookies, but not third-party sites. Finally, we recommend selecting the Ask before sending a non-secure form to a secure website option. This will alert you when data is sent to a secure web site over an insecure channel.rnrn
Source: CERT/CC.
Private Browsing
Safari (on Mac and Windows) offers a feature called Private Browsing.rnrn
You can turn this on via the Edit drop-down on Windows or from Safari on the Mac.rn
When Private browsing is turned on, Safari won’t store your Google searches, your cookies, the history of sites you’ve visited, your download history, or information from online forms you’ve filled out. rn
If you’ve been browsing without private browsing turned on, just use Privacy Reset to empty your cache and clear Safari of your browsing, forms, and search history.