---
title: Disable Executable Memory Protection Entitlement
framework: bundleresources
role: symbol
role_heading: Property List Key
path: bundleresources/entitlements/com.apple.security.cs.disable-executable-page-protection
---

# Disable Executable Memory Protection Entitlement

A Boolean value that indicates whether to disable all code signing protections while launching an app, and during its execution.

## Discussion

Discussion The system causes an app that attempts to directly modify sections of its own executable files on disk to forcefully exit. Use the Disable Executable Memory Protection Entitlement to enable this kind of unsafe software update. Even with this entitlement, however, updates that modify some files but not others may cause unexpected app state. Ensure that you perform updates atomically, with the final app bundle swapped out after app exit. The entitlement effectively encompasses the behavior provided by the Allow Unsigned Executable Memory Entitlement, but not the Disable Library Validation Entitlement. warning: The Disable Executable Memory Protection Entitlement is an extreme entitlement that removes a fundamental security protection from your app, making it possible for an attacker to rewrite your app’s executable code without detection. Prefer narrower entitlements if possible. To add this entitlement to your app, first enable the Hardened Runtime capability in Xcode, and then under Runtime Exceptions, select Disable Executable Memory Protection.

## See Also

### Hardened runtime

- [Allow execution of JIT-compiled code entitlement](bundleresources/entitlements/com.apple.security.cs.allow-jit.md)
- [Allow Unsigned Executable Memory Entitlement](bundleresources/entitlements/com.apple.security.cs.allow-unsigned-executable-memory.md)
- [Allow DYLD environment variables entitlement](bundleresources/entitlements/com.apple.security.cs.allow-dyld-environment-variables.md)
- [Disable Library Validation Entitlement](bundleresources/entitlements/com.apple.security.cs.disable-library-validation.md)
- [Debugging tool entitlement](bundleresources/entitlements/com.apple.security.cs.debugger.md)
