# State, snapshots and the data lifecycle

Lesson 3 of [Security review of an agent sandbox provider](https://agentsandboxes.fyi/academy/review-agent-sandbox-security.md), 15 minutes.

Persistent state is useful. It also carries data, secrets and mistakes from one run to the next. Treat every saved state as data with an owner. What a snapshot can hold A filesystem snapshot holds the files at that time. A memory snapshot holds the contents of memory. That can include tokens, keys a…

The rest of this lesson is for learners enrolled in the course. [See how Security review of an agent sandbox provider works](https://agentsandboxes.fyi/academy/review-agent-sandbox-security.md).

Also on the [web page](https://agentsandboxes.fyi/academy/review-agent-sandbox-security/state-snapshots-and-data-lifecycle).
