Skip to main content

Module security

Module security 

Source
Expand description

Embedder-supplied security policy trait.

Caller identity is fixed by the host-function binding’s closure; Wasm code cannot forge a different caller value.

Structs§

AllowAllCheck
Default policy: allows all calls, logging each to stderr so stdout carries only the program’s result.
AuditDecision
A decision observation; recording must never change authorization semantics.

Enums§

CheckOutcome

Traits§

SecurityCheck

Functions§

default_check