How iOS 16 Lockdown Mode Secures Safari Browsing

Lockdown Mode in iOS 16 provides an extreme, optional layer of security designed for individuals who might be personally targeted by sophisticated digital threats, such as mercenary spyware. When activated, it fundamentally alters how Safari handles web traffic by disabling complex web technologies, restricting code execution, and stripping down attack surfaces that hackers commonly exploit. This guide explains the specific mechanisms Lockdown Mode uses to harden Safari against targeted cyberattacks.

Disabling Just-In-Time (JIT) JavaScript Compilation

Just-In-Time (JIT) compilation is a feature in modern browsers that speeds up JavaScript execution by compiling code into machine language on the fly. However, JIT compilers are historically one of the most common vectors for browser-based zero-day exploits and memory corruption vulnerabilities.

In Lockdown Mode, Safari completely disables JIT compilation for all websites by default. JavaScript continues to run using a slower, interpreted engine, eliminating the entire attack surface associated with the JIT compiler.

Blocking Web Fonts

Web fonts allow sites to render custom typography, but font parsing engines are notoriously complex and have repeatedly been targeted by malicious actors using malformed font files to achieve remote code execution.

Lockdown Mode blocks most downloadable web fonts entirely. Safari will instead fall back to system-installed, secure fonts, preventing malicious font files from compromising the device.

Restricting WebAssembly (Wasm)

WebAssembly enables high-performance applications to run directly inside the browser at near-native speed. Because it bypasses traditional script execution boundaries, it can introduce security risks if vulnerabilities exist within the runtime environment. Lockdown Mode disables WebAssembly support across Safari, ensuring that compiled binary code cannot execute within the browser.

Neutralizing Advanced Web APIs

Modern websites use various advanced APIs to access hardware features, render 3D graphics, and process media. Lockdown Mode disables or heavily restricts several of these technologies in Safari, including:

  • WebGL: Hardware-accelerated 3D rendering is disabled to prevent GPU-based exploits and fingerprinting.
  • IndexedDB: Restricts client-side database storage to minimize local data tampering vectors.
  • Media Formats: Certain complex or experimental image and video codecs are blocked to prevent parser exploits.
  • MathPlayer and SVG Fonts: Complex mathematical rendering engines and vector font parsers are deactivated.

Per-Site Exclusion Settings

Because Lockdown Mode intentionally breaks modern web technologies to maximize security, some websites may load improperly or fail to function. To address this, iOS 16 allows users to exclude trusted websites directly within Safari.

By tapping the "aA" menu in Safari's address bar and selecting Website Settings, users can toggle off Lockdown Mode for a specific domain. While this restores full web functionality, it also removes the heightened security protections for that particular site, meaning it should only be used for strictly verified, trustworthy services.