Running Logic You Didn't Write: Stof's Security Model in 0.11
Stof is for running logic you didn't write: a rule a model drafted, a customer's settings, a workflow another service sent over. Your app runs it in-process, with no deploy, and stays in charge of what it can do.
Stof 0.11 adds the pieces that make that easy to rely on: sealing the logic you trust, confining code from somewhere else to what you give it, keys and signatures to check who wrote something, a memory limit on every call, network access that stays off your private network, and stricter HTML. This post walks through the whole model, with examples you can run in the playground. (Some of this first shipped in 0.10.10; 0.11 completes it.)
