~/talk

REST Easy — API Security Done Right

Talkat DjangoCon US 2015 · 2015-09-06..09-11· [security]
links:none on file
slides:none on file

Claim: small, composable permission classes plus a composer make complex API rules tractable. Uses Django REST Framework serializers/views and multiple auth methods (session auth JWT tokens API keys signed URLs), a homemade field restriction helper (factory that limits writable model columns), and the pip-installable rest_condition composer to AND/OR permission pieces. Implements is_post is_authenticated has_object_permission and get_queryset filters. Built code runs in production but exposes messy, scattered logic and past security bugs, so a centralized role-based permissions model is proposed.

AI-written summary · about

  1. 0:00Introduction to rest security
  2. 2:00The evolving role of web apps
  3. 4:26State of Django rest framework
  4. 6:26API security considerations
  5. 10:00Strategies for secure APIs
  6. 14:44Using rest condition
  7. 17:18Future of api security
~/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.