# Memory Protection Keys (MPK)

You can also [browse this source code online][code] and clone the wasmtime
repository to run the example locally.

[code]: https://github.com/bytecodealliance/wasmtime/blob/main/examples/mpk.rs

This example demonstrates using the [Memory Protection Keys](https://www.man7.org/linux/man-pages/man7/pkeys.7.html) feature on supported platforms.

## Host Source

<!-- langtabs-start -->

```rust
{{#include ../examples/mpk.rs}}
```

<!-- langtabs-end -->
