---
title: protection
framework: endpointsecurity
role: symbol
role_heading: Instance Property
path: endpointsecurity/es_event_mmap_t/protection
---

# protection

Options that affect the protection of mapped memory pages.

## Declaration

```swift
var protection: Int32
```

## See Also

### Inspecting Event Properties

- [source](endpointsecurity/es_event_mmap_t/source.md)
- [file_pos](endpointsecurity/es_event_mmap_t/file_pos.md)
- [flags](endpointsecurity/es_event_mmap_t/flags.md)
- [max_protection](endpointsecurity/es_event_mmap_t/max_protection.md)
- [reserved](endpointsecurity/es_event_mmap_t/reserved.md)
