~/talk

Compile-Time Authorization

Talkat EuroRust 2023 · 2023-10-12..10-13· [rust]
links:none on file
slides:none on file

Claims compile-time enforcement of authorization by encoding checks into typestates and compile-time typelists, uses nightly Rust and the experimental marker_trait_adder to avoid conflicting trait impls, targets attribute-based access control (ABAC) so function calls require stamped attestations, and demonstrates a proof-of-concept library that ties attestations to specific object instances. The prototype runs on unstable Rust, prevents whole classes of forgotten checks, and the author reports it saved a couple of real bugs.

AI-written summary · about

  1. 0:00Rust’s potential
  2. 1:50Introduction
  3. 2:53Authentication vs authorization
  4. 4:17Ad hoc access control flaws
  5. 6:04Django and Oso
  6. 8:32Centralized authorization benefits
  7. 10:40Authorization logic fails
  8. 13:08Reactive authorization design
  9. 16:20Type lists for compile-time checks
  10. 20:57Trait conflicts with markers
  11. 22:44Guarded functions with traits
  12. 24:30Daeri library for policies
  13. 25:35Key takeaways
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 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
?
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.