Security

Protect data, establish trust and control access to your app.

Introduced
2001
Mac OS X
Kind
Framework
Runs on
Get it from
iOS
2.0+
iPadOS
2.0+
Mac Catalyst
13.0+
macOS
10.0+
tvOS
9.0+
visionOS
1.0+
watchOS
2.0+

Overview

The Security framework covers the essentials: the keychain for passwords and keys, certificates and trust evaluation, cryptography, and code signing. Password AutoFill and one-time codes make sign-in smoother.

On the Mac it also covers notarization, the App Sandbox and the Hardened Runtime, and App Attest helps your server confirm requests come from your genuine app.

Keychain

Store passwords, keys and tokens securely.

Trust and cryptography

Certificates, keys and secure randomness.

Code signing

Signing, notarization and the Hardened Runtime.

App Attest

Prove requests come from your genuine app.

History

How it grew up.

2001

Introduced

Arrives with Mac OS X.

2015

App Transport Security

Secure connections by default.

2018

Notarization

Apple checks Mac software before it runs.

2026

App Attest on Mac

App Attest comes to macOS 27.