# 7. iOS Security

![](/files/f7wZrureJ9rkLmHOS73X)

iOS devices have limitations compared to Android and include a hardware security component. Jailbreaking may be required to install third-party apps (sideloading).

## iOS Architecture

[Apple iOS Security](https://support.apple.com/guide/security/welcome/web) is based on a hardware and a software layer, and iOS **is based on the Linux O.S**.

* All apps are signed by Apple (with a developer profile) - Free developer account allows Sideloading.
* 2 partitions on the file system (user and O.S. partitions) - the user can only see user's file
* Each iOS device has a device and a group key, created during manufacturing
  * iOS utilizes secure boot chain, Touch ID/Face ID, and the Secure Enclave for hardware-based encryption and key management.

[**iOS Architecture**](https://mas.owasp.org/MASTG/iOS/0x06a-Platform-Overview/#ios-security-architecture)

![iOS Security Architecture](/files/8j99SWJnm4BJm7dHxWmb)

Most iOS Applications are based on native [Objective C](https://developer.apple.com/library/archive/documentation/Cocoa/Conceptual/ProgrammingWithObjectiveC/Introduction/Introduction.html#//apple_ref/doc/uid/TP40011210-CH1-SW1), and [Swift](https://developer.apple.com/swift/resources/).

* Developed in [Xcode](https://developer.apple.com/xcode/) environment
* `.iPA` format - signed bundle of folders and assets
* Unzipping .iPA results into a `/Payload` folder
  * `Application.app`
  * `iTunesMetadata.plist`
  * `Info.plist`
  * various unique `.json`, assets, resources

***


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://blog.syselement.com/tcm/courses/mapt/7-ios.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
