~/talk

Designing with capabilities

Talkat DotNext 2021 Piter · 2021-04-20..04-23· [api-design, security]
slides:none on file

Argues that applying the Principle of Least Authority to APIs yields smaller, safer interfaces and shows it with F# code, a working tic‑tac‑toe demo and an HTML/HATEOAS demo that remove illegal moves instead of returning errors. Demonstrates dependency‑injection-as‑authority, transforming capabilities for auditing, revocable capabilities, and once‑only use, and shows delegation to an email service so it can read exactly one customer. Demos run and fix the double‑move and over‑broad‑access bugs.

AI-written summary · about

  1. 0:00Introduction and welcome
  2. 1:53Talk overview and goals
  3. 3:15Security and software design principles
  4. 13:35Tic-tac-toe API demo
  5. 17:44Capability-based design explained
  6. 21:38Capability-based API demo
  7. 25:51Hypermedia as engine of application state
  8. 31:31Capabilities in internal code design
  9. 36:49Injecting capabilities instead of interfaces
  10. 40:18Transforming capabilities
  11. 42:48Capability transformation demos
  12. 46:41Delegating capabilities
  13. 52:21Delegation demo and email service
  14. 55:08Benefits of capability-based design
  15. 57:15Q&A session begins
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.