Skip to main content

Module security

Module security 

Source
Expand description

Capability-based security model and builder API. Capability-based security sandbox for Martensite plugins.

Plugins start with no access to host resources. Each permission must be explicitly granted through a Capability before the plugin runtime will allow a host call to proceed. Unauthorized calls trap the guest cleanly.

Structs§

CapabilitySet
A set of capabilities held by a plugin instance.
PluginBuilder
Fluent builder for assembling a CapabilitySet.

Enums§

Capability
A single host resource permission that can be granted to a plugin.