Главная
Study mode:
on
1
Intro
2
Welcome
3
Authentication
4
Endpoint
5
Protect endpoint
6
Protect decorator
7
Middleware
8
Authentication Failure
9
What we want
10
Determining authentication
11
Cookies headers
12
Intersession tickets
13
Session based requests
14
Nonsession based requests
15
Sessionbased requests
16
Strategy
17
Direct or Browser API
18
Why do we want to know
19
The problems with browsers
20
How is this typically handled
21
Recap
22
What if our API has to do both
23
What is a JSON
24
How to handle JSON
25
Python code
26
Solution
27
Structured scopes
28
Check mark
29
Cookies
30
API endpoints
31
Questions
Description:
Explore strategies for securing and managing access to web APIs in this EuroPython 2020 conference talk. Learn about token-based authentication, scoping for access levels, and implementing JWT strategies for both third-party integrations and single-page applications. Discover best practices for storing JWTs in browsers and controlling access privileges using structured scopes. Gain insights into various authentication methods, including cookies, headers, and session-based requests. Understand the challenges of securing APIs for both direct and browser-based access, and explore solutions using JSON Web Tokens. Apply these concepts to any web API framework, with a focus on implementation using the Sanic async web framework.

Overcoming Access Control in Web APIs

EuroPython Conference
Add to list
0:00 / 0:00