Skip to main content
TechRadar TechRadar the technology experts
Asia
flag of Singapore
Singapore
Europe
flag of Danmark
Danmark
flag of Suomi
Suomi
flag of Norge
Norge
flag of Sverige
Sverige
flag of UK
UK
flag of Italia
Italia
flag of Nederland
Nederland
flag of België (Nederlands)
België (Nederlands)
flag of France
France
flag of Deutschland
Deutschland
flag of España
España
North America
flag of US (English)
US (English)
flag of Canada
Canada
flag of México
México
Australasia
flag of Australia
Australia
flag of New Zealand
New Zealand
RSS
Sign in
  • View Profile
  • Sign out
  • Phones
    • Popular Phone Brands
      • iPhone
      • Samsung Galaxy
      • Google Pixel
      • Nothing
      • Motorola
      • OnePlus
      • Xiaomi
      • Honor
      • Oppo
      • Huawei
    • Operating Systems
      • Android
      • iOS
    • More from Phones
      • Network Carriers
      • Phone Accessories
      • Phone Reviews
      • Phone Buying Guides
      • Phone Deals
      • Phone News
  • Computing
    • Laptops
      • Chromebooks
      • MacBooks
      • Windows Laptops
      • Gaming Laptops
    • PCs
      • Desktop PCs
      • Macs
      • Gaming PCs
    • Software
      • Windows
      • macOS
    • Components
      • CPUs
      • GPUs
      • Storage
      • Nvidia
      • Intel
    • Internet
      • Websites & Apps
      • Wi-Fi & Broadband
      • Social Media
      • Wordle
    • Security
      • Antivirus
      • Cyber Security
    • Tablets
      • eReaders
      • iPad
    • VR & AR
    • Peripherals
      • Monitors
      • Keyboards
      • Webcams
      • Mice
    • Popular Computing Brands
      • Dell
      • HP
      • Lenovo
      • Acer
    • More from Computing
      • Computing Reviews
      • Computing Buying Guides
      • Computing Deals
      • Computing News
  • AI
    • AI Platforms & Assistants
    • OpenAI
    • ChatGPT
    • Gemini
    • Apple Intelligence
    • Claude
  • TVs
    • TV Insights
      • TV Reviews
      • TV Buying Guides
      • TV Deals
      • TV News
    • More for your TV
      • Home Theatre
      • Soundbars
      • Streaming Devices
      • Projectors
      • Blu-ray
  • Streaming
    • Entertainment
    • Netflix
    • Prime Video
    • Disney+
    • Apple TV+
    • HBO Max
    • Hulu
    • Paramount+
    • How to Watch
  • Fitness
    • Fitness
      • Smartwatches
      • Fitness Trackers
      • Exercise Equipment
      • Fitness Headphones
      • Fitness Apps
      • Smart Rings
    • Watch Brands
      • Apple Watch
      • Fitbit
      • Garmin
      • Google Pixel Watch
      • Samsung Galaxy Watch
    • Wellbeing
      • Sleep
      • Oral Health
    • More from Fitness
      • Fitness News
      • Fitness Reviews
      • Fitness Buying Guides
      • Fitness Deals
  • Audio
    • Headphones
      • Earbuds & AirPods
      • Wireless Headphones
    • Speakers
      • Wireless Speakers
      • Sonos
    • Hi-Fi
      • Turntables
      • Portable Players
      • DACs
    • Audio Streaming
      • Spotify
      • Apple Music
    • More from Audio
      • Audio News
      • Audio Reviews
      • Audio Buying Guides
      • Audio Deals
  • VPN
    • VPN Services
    • VPN Security
    • ExpressVPN
    • NordVPN
  • Cameras
    • Camera Types
      • Mirrorless
      • DSLRs
      • Compact
      • Action
      • Video
      • Drones
      • 360 Cameras
      • Dash Cams
    • Camera Brands
      • Canon
      • DJI
      • Fujifilm
      • Nikon
      • GoPro
      • Insta360
    • More from Cameras
      • Camera Accessories
      • Camera Lenses
      • Camera Reviews
      • Camera Buying Guides
      • Camera Deals
      • Camera News
      • Photography
  • Home
    • Smart Home
      • Home Security
      • Smart Speakers
      • Smart Lights
      • Smart Scales
      • Smart Thermostats
      • Amazon Echo
    • Small Appliances
      • Air Fryers
      • Air Quality
      • Coffee Machines
      • Hair Care
      • Vacuums
      • Robot Vacuums
    • Home Brands
      • Dyson
      • Philips Hue
      • Ring
      • Shark
      • Ninja
    • More from Home
      • Home Reviews
      • Home Buying Guides
      • Home Deals
      • Home News
  • EVs
  • Browse
    • By Type
      • News
      • Best
      • Reviews
      • Deals
      • Versus
      • How To
      • Opinion
      • Coupons
    • Popular Brands
      • Samsung
      • Sony
      • Microsoft
      • Apple
Tech Radar Pro Tech Radar Gaming
  • Phones
    • View Phones
      • iPhone
      • Samsung Galaxy
      • Google Pixel
      • Nothing
      • Motorola
      • OnePlus
      • Xiaomi
      • Honor
      • Oppo
      • Huawei
      • Android
      • iOS
      • Network Carriers
      • Phone Accessories
      • Phone Reviews
      • Phone Buying Guides
      • Phone Deals
      • Phone News
  • Computing
    • View Computing
    • Laptops
      • View Laptops
      • Chromebooks
      • MacBooks
      • Windows Laptops
      • Gaming Laptops
      • Desktop PCs
      • Macs
      • Gaming PCs
    • Software
      • View Software
      • Windows
      • macOS
    • Components
      • View Components
      • CPUs
      • GPUs
      • Storage
      • Nvidia
      • Intel
    • Internet
      • View Internet
      • Websites & Apps
      • Wi-Fi & Broadband
      • Social Media
      • Wordle
    • Security
      • View Security
      • Antivirus
      • Cyber Security
    • Tablets
      • View Tablets
      • eReaders
      • iPad
    • VR & AR
    • Peripherals
      • View Peripherals
      • Monitors
      • Keyboards
      • Webcams
      • Mice
      • Dell
      • HP
      • Lenovo
      • Acer
      • Computing Reviews
      • Computing Buying Guides
      • Computing Deals
      • Computing News
  • AI
    • View AI
    • AI Platforms & Assistants
    • OpenAI
    • ChatGPT
    • Gemini
    • Apple Intelligence
    • Claude
  • TVs
    • View TVs
      • TV Reviews
      • TV Buying Guides
      • TV Deals
      • TV News
      • Home Theatre
      • Soundbars
      • Streaming Devices
      • Projectors
      • Blu-ray
  • Streaming
    • View Streaming
    • Entertainment
    • Netflix
    • Prime Video
    • Disney+
    • Apple TV+
    • HBO Max
    • Hulu
    • Paramount+
    • How to Watch
  • Fitness
    • View Fitness
      • Smartwatches
      • Fitness Trackers
      • Exercise Equipment
      • Fitness Headphones
      • Fitness Apps
      • Smart Rings
      • Apple Watch
      • Fitbit
      • Garmin
      • Google Pixel Watch
      • Samsung Galaxy Watch
      • Sleep
      • Oral Health
      • Fitness News
      • Fitness Reviews
      • Fitness Buying Guides
      • Fitness Deals
  • Audio
    • View Audio
    • Headphones
      • View Headphones
      • Earbuds & AirPods
      • Wireless Headphones
    • Speakers
      • View Speakers
      • Wireless Speakers
      • Sonos
    • Hi-Fi
      • View Hi-Fi
      • Turntables
      • Portable Players
      • DACs
    • Audio Streaming
      • View Audio Streaming
      • Spotify
      • Apple Music
      • Audio News
      • Audio Reviews
      • Audio Buying Guides
      • Audio Deals
  • VPN
    • View VPN
    • VPN Services
    • VPN Security
    • ExpressVPN
    • NordVPN
  • Cameras
    • View Cameras
      • Mirrorless
      • DSLRs
      • Compact
      • Action
      • Video
      • Drones
      • 360 Cameras
      • Dash Cams
      • Canon
      • DJI
      • Fujifilm
      • Nikon
      • GoPro
      • Insta360
      • Camera Accessories
      • Camera Lenses
      • Camera Reviews
      • Camera Buying Guides
      • Camera Deals
      • Camera News
      • Photography
  • Home
    • View Home
    • Smart Home
      • View Smart Home
      • Home Security
      • Smart Speakers
      • Smart Lights
      • Smart Scales
      • Smart Thermostats
      • Amazon Echo
    • Small Appliances
      • View Small Appliances
      • Air Fryers
      • Air Quality
      • Coffee Machines
      • Hair Care
      • Vacuums
      • Robot Vacuums
      • Dyson
      • Philips Hue
      • Ring
      • Shark
      • Ninja
      • Home Reviews
      • Home Buying Guides
      • Home Deals
      • Home News
  • EVs
  • Browse
    • View Browse
      • News
      • Best
      • Reviews
      • Deals
      • Versus
      • How To
      • Opinion
      • Coupons
      • Samsung
      • Sony
      • Microsoft
      • Apple
Tech Radar Pro Tech Radar Gaming
Trending
  • Exclusive Apple interview
  • iPhone Air
  • iPhone 17 Pro
  • Best laptop
  • ChatGPT
  • Best VPN
  • Best web hosting
  • NYT Wordle today
Don't miss these
Safari icon app browser on the display iPhone. Safari is a web browser developed by Apple and part of macOS and iOS.
iOS How to private browse in Safari on Mac, iPhone and iPad
Google Chrome logo on desktop and mobile
iOS How to private browse in Chrome on Windows, Android and ChromeOS
Using Windows
Software & Services Best secure browser of 2025
IPVanish VPN running on a Macbook Pro
VPN Services IPVanish lets you bring your browsing to the cloud, directly from its desktop apps
Private browsing mode in safari browser iphone apple
Security How to browse the web anonymously
Psylo app
Pro Apple users rejoice, this browser promises privacy nirvana by giving each tab a unique IP address
Tor Browser
Browsers How to get started with Tor Browser - a web browser designed for privacy
A Mac on a yellow background with "best Mac VPN" overlaid
VPN Services The best Mac VPN in 2025
Apple iPhone 16 Pro REVIEW
iPhone 5 smart privacy features on iPhone you need to know about
Phone and laptop
Security Best privacy tool and anonymous browser of 2025
Pink iPhone chained up
Phones Worried about phone snatchers? These 5 invaluable iPhone and Android settings will keep you safe and connected this summer
Mobile Security
Security Hackers are cracking mobile browsers to bypass security - here's how they do it and how to stay safe
Apple iPhone 12 Purple
Software & Services How to block websites on iPhone
Kids and AI
Pro Back-to-school online safety checklist for parents
Promo image for Psylo web browser app on Apple App Store
VPN Privacy & Security VPNs cannot protect against browser fingerprinting – but this new web browser could be the fix
  1. Computing
  2. Software
  3. macOS

How to browse the internet safely in macOS

How Tos
By Nate Drake published 8 April 2017

Be safe in macOS

When you purchase through links on our site, we may earn an affiliate commission. Here’s how it works.

Stay safe

Stay safe

Although Macs are generally less prone to malware and viruses, the Safari browser can be exploited through malicious code and can display annoying pop up ads. It’s also fairly easy by default for someone to retrieve your browsing history and see files you’ve downloaded. 

In this guide, we’re going to explore some ways to make your browsing experience more secure. Before starting out, do make sure you have the most recent version of macOS and the Safari browser by opening the Mac App Store and clicking “Updates”. This way you’ll have access to Safari’s latest security features.

Page 1 of 9
Page 1 of 9
1. Block pop up ads

1. Block pop up ads

While pop up ads are usually no more than a mild annoyance as you browse the web, some can contain harmful code or when clicked, take you to websites which do. You can block most ads through using the Safari Extension AdBlock Plus.

Click on Safari > Safari Extensions in the menu at the top left to see all available add ons. Click “AdBlock Plus”, then on the blue “install now” link to add it to Safari.

The AdBlock Plus button will appear to the left of your address bar. Click it to see details of what’s been blocked. 

Page 2 of 9
Page 2 of 9
2. Block tracking cookies

2. Block tracking cookies

Websites will often place tracking cookies on your computer. These are small files which record information about you and your browsing habits. This is mostly harmless but would you, for instance, want a life insurance website to know you’d just ordered some junk food? 

Install the Safari Extension ‘Ghostery’ to proactively block all tracking cookies. Click on Safari > Safari Extensions and search for 'Ghostery' in the search bar. Click 'Install Now' to be taken to the easy set up wizard. In the 'Blocking' section make sure to 'Select All' to block all kinds of tracking.

Page 3 of 9
Page 3 of 9
3. Use Private Browsing

3. Use Private Browsing

Click File > New Private Window at any time in Safari to start a private browsing session. Your Mac will not remember any pages visited, search history or forms filled inside a private window. The address bar is grey for easy identification. 

Go to Safari > Clear History to erase your existing browsing data. In the 'Clear' menu, choose the time period you want to erase e.g. the last hour then click 'Clear History'.

Safari can also automatically delete your browsing history after a certain length of time. Go to Safari > Preferences > General and find the 'Remove History Items' section to change this.

Page 4 of 9
Page 4 of 9
4. Disable Javascript

4. Disable Javascript

JavaScript is a programming language that can run inside web browsers allowing for more advanced features such as Google Docs. When Javascript is enabled, a page using it will load any Javascript programs automatically. In theory, this could mean if you accidentally click the wrong link, harmful code could run automatically on your system.

Go to Safari > Preferences > Security and untick ‘enable Javascript’ to change this. 

Remember though that some modern websites such as Google Drive require Javascript to run. Others may load but not appear as before - for instance Facebook will direct you to the mobile version of its site.

  • 5 good alternatives to Google Docs
Page 5 of 9
Page 5 of 9
5. Manage Passwords

5. Manage Passwords

The latest version of Safari offers a huge improvement in security, in that it requires your login password to show any password you’ve previously saved in the browser. This means if you leave your Mac unattended there’s less chance someone can open Safari and write down your passcodes.

Nevertheless, a skilled hacker might still be able to retrieve them. Consider using iCloud Keychain to store an encrypted copy of your passwords in the cloud. 

Go to System Preferences > iCloud > and tick ‘iCloud Keychain’ to set up. See our guide on using iCloud Keychain for further information.

Page 6 of 9
Page 6 of 9
6. Disable location services

6. Disable location services

In theory location services are a great way for websites to offer you customised web content, for instance by showing you local places to eat and drink when searching online.

In reality, information on your whereabouts could end up being shared without your permission to third parties. Would you want your employer, for example, to know you had a job interview with one of their rivals?

Disable location services by going to Safari > Preferences > Privacy. Under ‘Website Use of Location Services’ click ‘Deny without prompting’. 

Page 7 of 9
Page 7 of 9
7. Disable ‘Safe Downloads’

7. Disable ‘Safe Downloads’

By default Safari will automatically open files you download that use formats it considers to be ‘safe’ such as movies and PDF. This means that you have no chance to check the files are the right ones before opening. Malicious code also can hide in supposedly ‘safe’ files such as PDFs. 

Go to Safari > Preferences > General and untick ‘Open Safe Files after downloading’ to disable this feature. 

The Apple website also has some excellent tips for handling content downloaded from the internet.

For further security, see our round up of the best antivirus software for 2017. 

Page 8 of 9
Page 8 of 9
8. Change your search engine

8. Change your search engine

Many of the major search engine providers store logs of what you search for, websites you visit and your IP address. This information could be exploited to build up a detailed picture of your browsing habits, even if you use Safari’s Private Browsing mode, as although your history isn’t stored on your computer, the data still exists on the search engine’s servers.

You can avoid this by switching to the search engine DuckDuckGo. DuckDuckGo doesn’t track you, nor does it display customised ads. Go to Safari > Preferences > Search and choose DuckDuckGo in the ‘Search Engine’ menu to switch search engines. 

Page 9 of 9
Page 9 of 9
Nate Drake

Nate Drake is a tech journalist specializing in cybersecurity and retro tech. He broke out from his cubicle at Apple 6 years ago and now spends his days sipping Earl Grey tea & writing elegant copy.

See more Computing How Tos
Read more
Safari icon app browser on the display iPhone. Safari is a web browser developed by Apple and part of macOS and iOS.
How to private browse in Safari on Mac, iPhone and iPad
 
 
Google Chrome logo on desktop and mobile
How to private browse in Chrome on Windows, Android and ChromeOS
 
 
Using Windows
Best secure browser of 2025
 
 
IPVanish VPN running on a Macbook Pro
IPVanish lets you bring your browsing to the cloud, directly from its desktop apps
 
 
Private browsing mode in safari browser iphone apple
How to browse the web anonymously
 
 
Psylo app
Apple users rejoice, this browser promises privacy nirvana by giving each tab a unique IP address
 
 
Latest in macOS
The Liquid Glass interface in macOS Tahoe.
macOS Tahoe 26 comes with a big money-saving upgrade for fixing Macs - and it's landing next week
 
 
Macbook Pro 14-inch
One of my favorite iPhone features arrives on the Mac with Tahoe – and I can’t stop using it
 
 
A hacker typing on a MacBook laptop with code on the screen.
Apple Mac users should install this new update right now, as macOS Sequoia bows out with a crucial bug fix
 
 
A MacBook Pro and a MacBook Air sitting on a table
Benchmarking Macs: 3DMark and other testing tools that make it easy to test your Apple Mac’s performance
 
 
macOS Tahoe 26 screen
I've already been using macOS Tahoe 26 for a month – here are 4 features that make it worth the upgrade
 
 
Apple's Craig Federighi introduces the Liquid Glass redesign at the company's Worldwide Developers Conference (WWDC) in June 2025.
Ignore the haters – Apple’s Liquid Glass theme is one of my favorite parts of macOS Tahoe
 
 
Latest in How Tos
Screen from iOS 26 on an iPhone 17, on a blue background
iOS 26 not downloading? Try these workarounds to get you up and running
 
 
Jasprit Bumrah bowls Rizwan of Pakistan in the 2024 ICC T20 Cricket World Cup match between India and Pakistan.
How to watch India vs Pakistan online: Asia Cup 2025 cricket live streams from anywhere
 
 
Armand Duplantis of Team Sweden jumps 6.28 to set a new World Record in the Men's Pole Vault Final during the BAUHAUS-galan, part of the 2025 Diamond League at Olympic Stadium on June 15, 2025 in Stockholm, Sweden.
How to watch men's pole vault final at World Athletics Championships 2025: FREE live streams, schedule, Duplantis goes for gold
 
 
A man shields himself from the hot sun with an umbrella as he walks past an advertisement of the 2025 World Athletics Championships, which will take place from September 13-21, outside the National Stadium in Tokyo on September 6, 2025.
How to watch World Athletics Championships 2025: FREE live streams, TV channels, Day 4 schedule, men's high jump, 110m hurdles, women’s 1500m finals
 
 
Defending US Open champion Carlos Alcaraz of Spain reacts by roaring at the crowd after winning a tennis match earlier this year.
How to watch Sinner vs Alcaraz online: live stream US Open 2025 final for FREE
 
 
asprit Bumrah of India celebrates after dismissing Azam Khan of Pakistan during the ICC Men's T20 Cricket World Cup West Indies & USA 2024 match between India and Pakistan at Nassau County International Cricket Stadium on June 09, 2024 in New York, New York.
How to watch Asia Cup 2025 online: cricket live streams, fixture list, TV guide and more
 
 
LATEST ARTICLES
  1. 1
    The iPhone 17 Pro series is in high demand – here’s how long you’ll have to wait to get one
  2. 2
    Amazon's Prime Big Deal Days sale is scheduled for October – here are 45 early deals that are worth buying now
  3. 3
    'It took us a year to write’ – Jason Momoa opens up on Chief of War’s Hawaiian saga
  4. 4
    Google reveals huge $6.8 billion investment in UK ahead of Trump visit
  5. 5
    Epson’s new projectors with Google TV are the first to get Sound by Bose

TechRadar is part of Future US Inc, an international media group and leading digital publisher. Visit our corporate site.

  • About Us
  • Contact Future's experts
  • Contact Us
  • Terms and conditions
  • Privacy policy
  • Cookies policy
  • Advertise with us
  • Web notifications
  • Accessibility Statement
  • Careers

© Future US, Inc. Full 7th Floor, 130 West 42nd Street, New York, NY 10036.

Please login or signup to comment

Please wait...