@phildini
#djangotoad
Frog and Toad
Learn Django Security
Slide 2
Slide 2 text
@phildini
#djangotoad
I have this great
idea for a startup!
Slide 3
Slide 3 text
@phildini
#djangotoad
Bezos Books
• A site for selling books
• Authors have a form where they can
put in book informaDon
• That book informaDon gets rendered to
a book page
• There is a form on the book page for
buying the book
@phildini
#djangotoad
if request is a POST and not view.csrf_exempt:
get csrf_token from cookie
get csrfmiddlewaretoken from request.POST
if both match:
accept
else:
reject
Slide 19
Slide 19 text
@phildini
#djangotoad
Cookies
Slide 20
Slide 20 text
@phildini
#djangotoad
SQLi
SQL InjecDon
Slide 21
Slide 21 text
@phildini
#djangotoad
[This Slide IntenDonally Len Blank]