Skip to content

Access Management

TODO: Write content for this page.

Control who can call your canister functions. Cover controller-only functions, caller principal checking, anonymous principal rejection, Rust guards pattern, role-based access control, and the who_am_i pattern for debugging identity. Include inline code examples (~10 lines) for basic caller checking in both Rust and Motoko. Written as a checklist, not an essay.

  • Portal: building-apps/best-practices/general.mdx (access control sections)
  • icskills: canister-security
  • Examples: guards (Rust), who_am_i (both, inline ~10 lines)
  • concepts/security — security model background
  • guides/canister-management/settings — controller configuration
  • guides/security/dos-prevention — rate limiting as access control