# ESP Privilege Separation -- A Case Study

DevFeed: [ESP Privilege Separation -- A Case Study](<https://devfeed.tech/articles/esp-privilege-separation-a-case-study-13846.md>)

Original publisher: [Read original article](<https://developer.espressif.com/blog/esp-privilege-separation-a-case-study/>)

Author: John Lee

Published: 2022-07-05T00:00:00Z

Content type: article

Language: en

Sources: [Blog on Developer Portal](<https://devfeed.tech/sources/blog-on-developer-portal.md>)

Topics: [ESP32-C3](<https://devfeed.tech/topics/esp32-c3.md>), [Esp Rainmaker](<https://devfeed.tech/topics/esp-rainmaker.md>), [Internet of things](<https://devfeed.tech/topics/iot.md>), [SOC](<https://devfeed.tech/topics/soc.md>), [Framework](<https://devfeed.tech/topics/framework.md>), [App](<https://devfeed.tech/topics/app.md>)

Tags: [blog](<https://devfeed.tech/tags/blog.md>), [case-study](<https://devfeed.tech/tags/case-study.md>), [embedded-systems](<https://devfeed.tech/tags/embedded-systems.md>), [esp-privilege-separation](<https://devfeed.tech/tags/esp-privilege-separation.md>), [esp-rainmaker](<https://devfeed.tech/tags/esp-rainmaker.md>), [esp32-c3](<https://devfeed.tech/tags/esp32-c3.md>), [framework](<https://devfeed.tech/tags/framework.md>), [iot](<https://devfeed.tech/tags/iot.md>), [overview](<https://devfeed.tech/tags/overview.md>), [products](<https://devfeed.tech/tags/products.md>), [security](<https://devfeed.tech/tags/security.md>)

## AI overview

This case study describes integrating ESP-RainMaker, an IoT application, with the ESP Privilege Separation framework on the ESP32-C3 SoC. It covers placing the ESP-RainMaker agent in the protected application, splitting components between protected and user applications, and implementing system calls for ESP-RainMaker APIs.

## Source excerpt

In the previous post, we introduced ESP Privilege Separation, a framework to achieve "user-kernel" separation and isolation on ESP32-C3 SoC. There are multiple ways of applying this framework to your project. This post presents a case study of integrating ESP-RainMaker, a real-world IoT application, with the ESP Privilege Separation framework. ESP-RainMaker offers a complete ecosystem to build connected AIoT products. Please refer to this link for more details.