Configuration profiles to enhance the privacy, security, & usability of Safari & WebKit on macOS...
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2025-05-19 23:38:46 -04:00
System Update 2025-04-20 04:44:09 -04:00
User Update 2025-04-20 04:44:09 -04:00
.gitignore Enable Post Quantum Encryption (X25519) 2025-01-23 02:02:06 +00:00
LICENSE Initial commit 2025-01-10 11:56:29 +00:00
Lockdown-Mode.md Update docs 2025-01-28 15:42:47 -05:00
README.md Add location of Safari's currently configured settings to README 2025-05-19 23:38:46 -04:00

Safari-Hardening

Configuration profiles to enhance the privacy, security, & usability of Safari & WebKit on macOS...

Please see here for configuration profiles to harden your system as a whole.

Tip

See Safari's currently configured settings at: ~/Library/Containers/com.apple.Safari/Data/Library/Preferences/com.apple.Safari.plist

Overview

There are currently 2 core Safari configs: Base & Extended.

Base

Base makes the following changes to Safari:

Privacy

Security

  • Always prompts before downloading files
  • Connects to websites through HTTPS by default
  • Disables automatically opening safe downloads
  • Disables FTP
  • Disables the HTML <model> element - (WebKitExperimentalModelElementEnabled)
  • Disables the HTML <model> element for stand-alone documents - (WebKitExperimentalModelDocumentEnabled)
  • Disables JavaScript from Apple Events
  • Disables JavaScript in Safari's URL Bar (Smart Search Field...)
  • Disables legacy Plug-ins
  • Disables local file content sniffing
  • Disables MathML
  • Disables Remote Automation
  • Disables the WebXR Device API
  • Enables automatic extension updates
  • Enables the link sanitizer
  • Enables parsing web fonts with a safe font parser in Lockdown Mode
  • Enables Password Breach Detection
  • Enables Post Quantum Encryption
  • Enables showing the full URL in Safari's URL Bar (Smart Search Field...)
  • Enables Trusted Types
  • Enables upgrading insecure (HTTP) content to HTTPS in mixed content, including local content
  • Enables upgrading known insecure (HTTP) hosts to HTTPS
  • Enforces Cross-Origin Embedder Policy
  • Enforces Cross-Origin Opener Policy
  • Enforces local file restrictions
  • Enforces Safari to always prefer sandboxed media parsing
  • Enforces Secure Context Checks
  • Enforces Site Isolation
  • Enforces use of HTTPS
  • Prompts users before submitting insecure forms
  • Requires biometrics to access Private Browsing tabs
  • Requires media capture to use secure connections

Misc.

  • Blocks JavaScript from launching browser windows automatically...
  • Blocks notification prompts
  • Disables Encrypted Media Extensions
  • Disables prompts to set Safari as the deafult browser
  • Enables CSS Masonry Layout - (WebKitExperimentalMasonryEnabled)
  • Enables Safari's Debug menu
  • Enables Safari's Develop menu
  • Enables user stylesheets

Extended

In addition to the changes noted for Base above, Extended also includes:

Privacy

  • Blocks websites from requesting access to geolocation
  • Disables Cloud Sync
  • Disables 'Frequently Visited' Websites
  • Disables WebGL
  • Switches the default search engine to DuckDuckGo

Security

  • Disables AutoFilling credit cards, contact information, passwords, and misc. forms
  • Disables JIT & WASM