~/talk

Building Authorization with Node.js: Dos and Don’ts

Talkat Conf42 JavaScript 2023 · on Thursday, 2023-11-16· [nodejs, security]
slides:none on file

Shows a concrete authorization microservice built with Opal and the Cedar policy language, using an Opal client as a sidecar decision agent that accepts principal action and resource and returns allow/deny. Demo uses a Node.js blog and a Python app sharing the same service, with policy-as-code stored in git so a commit changes enforcement in seconds (example: writers need >=1000 karma to publish). Covers audit logs, HTTP agent calls, and a commercial UI option with Permit.io.

AI-written summary · about

  1. 0:00intro
  2. 0:22preamble
  3. 0:46find the difference
  4. 4:01authentication advanced features
  5. 5:44about gabriel
  6. 6:38innovations
  7. 12:12staging & production
  8. 13:05express & flask
  9. 13:55authorization best practices
  10. 15:44model
  11. 18:48acl - access control list
  12. 19:45rbac - role based access control
  13. 21:06abac - attribute based access control
  14. 22:25rebac - relationship based access control
  15. 23:36author
  16. 23:46contracts create better relationships
  17. 25:47cedar
  18. 27:40generate code from ui
  19. 28:21analyze: cedar agent
  20. 29:01enforce authorization policies
  21. 30:22casl - frontend feature toggling sdk
  22. 30:46audit
  23. 31:04authorization system building blocks
  24. 31:40opal - open policy administration layer
  25. 32:19opal based authorization architecture
  26. 33:40demo
  27. 42:00about permit.io
  28. 42:25thank you
~/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.