<!--
{
  "availability" : [
    "iOS: 26.4.0 -",
    "iPadOS: 26.4.0 -",
    "macOS: 26.4.0 -",
    "visionOS: 26.4.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "BundleResources",
  "identifier" : "/documentation/BundleResources/Entitlements/com.apple.security.hardened-process.platform-restrictions-string",
  "metadataVersion" : "0.1.0",
  "role" : "Property List Key",
  "symbol" : {
    "kind" : "Property List Key",
    "modules" : [
      "Bundle Resources"
    ],
    "preciseIdentifier" : "entitlements:Entitlements.com.apple.security.hardened-process.platform-restrictions-string"
  },
  "title" : "com.apple.security.hardened-process.platform-restrictions-string"
}
-->

# com.apple.security.hardened-process.platform-restrictions-string

A string value that indicates the level of additional runtime security protections your app or extension opts in to.

## Discussion

Add this entitlement with the value “2” to your app or extension to instruct the system to protect against particular attacks that target the dynamic loader and Mach messaging.

Xcode adds this entitlement to your app or extension when you add the Enhanced Security capability.
For more information, see <doc://com.apple.documentation/documentation/Xcode/enabling-enhanced-security-for-your-app>.

> Note: This entitlement requires the following entitlements:
> 
> - ``doc://com.apple.bundleresources/documentation/BundleResources/Entitlements/com.apple.security.hardened-process``
> - ``doc://com.apple.bundleresources/documentation/BundleResources/Entitlements/com.apple.security.hardened-process.enhanced-security-version-string``

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)