Skip to main content
TechRadar TechRadar the technology experts
SG EditionSingapore
DK EditionDanmark FI EditionSuomi NO EditionNorge SE EditionSverige UK EditionUK IT EditionItalia NL EditionNederland BE (NL) EditionBelgië (Nederlands) FR EditionFrance DE EditionDeutschland ES EditionEspaña
US EditionUS (English) CA EditionCanada MX EditionMéxico
AU EditionAustralia NZ EditionNew Zealand
RSS
Sign in
  • View Profile
  • Sign out
  • Black Friday
    • Retailers
      • Black Friday Amazon Deals
      • Black Friday Best Buy Deals
      • Black Friday Deals Under $50/£50
      • Black Friday Walmart Deals
      • Black Friday Target Deals
      • Black Friday Argos Deals
      • Black Friday John Lewis Deals
      • Black Friday Currys Deals
    • Computing
      • Black Friday Laptop Deals
      • Black Friday MacBook Deals
      • Black Friday Dell Deals
      • Black Friday Printer Deals
      • Black Friday Mini PC Deals
      • Black Friday VPN Deals
    • Apple
      • Black Friday Apple Deals
      • Black Friday MacBook Deals
      • Black Friday Apple Watch Deals
    • Phones
      • Black Friday T-Mobile Deals
      • Black Friday Verizon Deals
    • More Black Friday
      • Black Friday TV Deals
      • Black Friday Dyson Deals
      • Black Friday Nespresso Deals
  • 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 Coupons
      • Phone News
  • Computing
    • Laptops
      • Chromebooks
      • MacBooks
      • Windows Laptops
      • Gaming Laptops
    • PCs
      • Desktop PCs
      • Macs
      • Gaming PCs
    • Software & Security
      • Windows
      • macOS
      • Windows 10 End of Life
      • Antivirus
      • Cyber Security
    • Components
      • CPUs
      • GPUs
      • Storage
      • Nvidia
      • Intel
    • Internet
      • Websites & Apps
      • Wi-Fi & Broadband
      • Social Media
      • Wordle
    • 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 Coupons
      • Computing News
  • AI
    • AI Platforms & Assistants
    • OpenAI
    • ChatGPT
    • Gemini
    • Apple Intelligence
    • Claude
  • TVs
    • TV Insights
      • TV Reviews
      • TV Buying Guides
      • TV Deals
      • TV News
      • TVs & home theater coupons
    • 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
    • Streaming coupons
  • 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
      • Fitness coupons
  • 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
      • Audio coupons
  • 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
      • Camera coupons
  • 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
      • Mattress coupons
      • Home & appliances coupons
  • 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
  • Black Friday
    • View Black Friday
      • Black Friday Amazon Deals
      • Black Friday Best Buy Deals
      • Black Friday Deals Under $50/£50
      • Black Friday Walmart Deals
      • Black Friday Target Deals
      • Black Friday Argos Deals
      • Black Friday John Lewis Deals
      • Black Friday Currys Deals
      • Black Friday Laptop Deals
      • Black Friday MacBook Deals
      • Black Friday Dell Deals
      • Black Friday Printer Deals
      • Black Friday Mini PC Deals
      • Black Friday VPN Deals
      • Black Friday Apple Deals
      • Black Friday MacBook Deals
      • Black Friday Apple Watch Deals
      • Black Friday T-Mobile Deals
      • Black Friday Verizon Deals
      • Black Friday TV Deals
      • Black Friday Dyson Deals
      • Black Friday Nespresso Deals
  • 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 Coupons
      • Phone News
  • Computing
    • View Computing
    • Laptops
      • View Laptops
      • Chromebooks
      • MacBooks
      • Windows Laptops
      • Gaming Laptops
      • Desktop PCs
      • Macs
      • Gaming PCs
    • Software & Security
      • View Software & Security
      • Windows
      • macOS
      • Windows 10 End of Life
      • Antivirus
      • Cyber Security
    • Components
      • View Components
      • CPUs
      • GPUs
      • Storage
      • Nvidia
      • Intel
    • Internet
      • View Internet
      • Websites & Apps
      • Wi-Fi & Broadband
      • Social Media
      • Wordle
    • 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 Coupons
      • 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
      • TVs & home theater coupons
      • 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
    • Streaming coupons
  • 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
      • Fitness coupons
  • 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
      • Audio coupons
  • 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
      • Camera coupons
  • 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
      • Mattress coupons
      • Home & appliances coupons
  • EVs
  • Browse
    • View Browse
      • News
      • Best
      • Reviews
      • Deals
      • Versus
      • How To
      • Opinion
      • Coupons
      • Samsung
      • Sony
      • Microsoft
      • Apple
Tech Radar Pro Tech Radar Gaming
Don't miss these
Best antivirus software
Antivirus Best Antivirus Software 2025
A stylized depiction of a padlocked WiFi symbol sitting in the centre of an interlocking vault.
Security Best endpoint protection software of 2025
India VPN
VPN Services The best VPN for India in 2025
Apple TV
VPN Services The best VPN for Apple TV in 2025
best iPad VPN
VPN Services The best VPN for iPad in 2025: our expert picks to secure your tablet
best mobile vpn
VPN Services The best mobile VPN apps in 2025
A laptop with the DeleteMe Logo on screen sits on a desk next to a lamp and a potted plant
Software TechRadar readers can get a handle on their personal data and save 30% on Deleteme plans this Black Friday
Parental monitoring of teens. Curious mother spying daughter, girl messaging on smartphone on sofa at home. Family and modern technologies
Software & Services Best Parental Control App of 2025
Person using laptop and phone
VPN The best age verification VPNs in 2025 – avoid handing over your data insecurely when browsing online
Header image depicting the best android antivirus providers
Antivirus Best Android Antivirus Apps for 2025
Secure online access with password and login page to manage personal profile account. Secured connection and data security on internet. Cybersecurity and sign in form. User working on laptop computer.
Security Best Password Manager of 2025: Expert Recommendations for Your Credential Security
VPN apps running on various devices during TechRadar's testing
VPN Services The best VPN service 2025
Best iPhone VPN
VPN Services The best VPN for iPhone in 2025 – top choices based on expert testing
VPN toggled on on an iPhone
VPN Services Best free VPN for iPhone in 2025 – the safest free solutions for your phone, based on expert testing
MacPaw UI
macOS Take Your Mac to the Next Level for less with an exclusive 20% off CleanMyMac plans.
Trending
  • Black Friday deals
  • Windows 10 end of life
  • Best laptop
  • Best VPN
  • ChatGPT
  • Best web hosting
  • NYT Wordle today
  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.

Deals not to miss
Apple TV
The best VPN for Apple TV in 2025
 
 
best iPad VPN
The best VPN for iPad in 2025: our expert picks to secure your tablet
 
 
best mobile vpn
The best mobile VPN apps in 2025
 
 
A laptop with the DeleteMe Logo on screen sits on a desk next to a lamp and a potted plant
TechRadar readers can get a handle on their personal data and save 30% on Deleteme plans this Black Friday
 
 
Parental monitoring of teens. Curious mother spying daughter, girl messaging on smartphone on sofa at home. Family and modern technologies
Best Parental Control App of 2025
 
 
Person using laptop and phone
The best age verification VPNs in 2025 – avoid handing over your data insecurely when browsing online
 
 
Latest in macOS
MacPaw UI
Take Your Mac to the Next Level for less with an exclusive 20% off CleanMyMac plans.
 
 
Two phones on a blue background showing the privacy settings in iOS and Android
4 iPhone security features you might not know about
 
 
A MacBook in a table showing the macOS Tahoe 26 interface
I've been using macOS Tahoe 26 for a month – here are the 5 features you should try first
 
 
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
 
 
Latest in How Tos
AI Robots
Creating images with ChatGPT is fun and these tips will make them better
 
 
Carlos Alcaraz in action for Spain at the Davis Cup.
How to watch Davis Cup Finals 2025: live stream tennis online, TV channel, order of play
 
 
Headshots of website builder experts with a purple spiral background and white text over the top.
Optimizing for online sales: Your insider guide to Black Friday success
 
 
ChatGPT
ChatGPT memories are disappearing for some users – here’s what you can do to protect yours
 
 
Luke Littler in action during his quarter-final match against Gerwyn Price during day five of the Boyle Sports World Grand Prix at Mattioli Arena on October 10, 2025 in Leicester, England.
How to watch Grand Slam of Darts 2025 online: live streams, schedule
 
 
A close up of watchOS 26's new Hints feature in the Apple Watch Control Center
I was sick of Apple Watch Live Activities until I found this simple fix
 
 
LATEST ARTICLES
  1. 1
    ChatGPT enters the group chat globally
  2. 2
    The best budget earbuds from Nothing and Sony are both at record-low prices – here’s what I’d buy this Black Friday
  3. 3
    Fitbit Black Friday deals are here – save up to 45% on some of the best fitness trackers out there
  4. 4
    Fitbit's new AI tool wants to take the stress out of your next doctor's visit – and I have some serious questions
  5. 5
    The Samsung Galaxy S25 and Google Pixel 10 are both discounted pre-Black Friday – here's my expert pick

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

Add as a preferred source on Google
  • 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...