Chapter 14 Permissions and the Sandbox Question 1 of 10 Chapter 14 Foundation
Which layer answers which question You want two guarantees. First: Claude must never publish anything without you seeing it. Second: whatever Claude runs must not read your cloud credentials file, even through a command you allowed. Which pairing is right?
A. The sandbox for the first and a rule for the second, because the sandbox sees every command that publishes, and a rule reads credentials before any process starts. B. A rule for the first, checked before the action on the command text. The sandbox for the second, enforced by the operating system on the running process. C. A rule for both, because a deny rule on the credentials file also stops a script that opens it, as long as the path is spelled with `~/`. D. A line in `CLAUDE.md` for the first and a rule for the second, because the model obeys both, since both are read at the start of each session.