Changes between Initial Version and Version 13 of Ticket #16859
- Timestamp:
- 01/04/21 23:17:21 (3 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #16859
-
Property
Status
changed from
new
toassigned
- Property Cc cmawebsite@… mail@… added
-
Property
Summary
changed from
CSRF Improvements
toAllow storing CSRF tokens in sessions
-
Property
Version
changed from
1.3
tomaster
- Property Owner changed from Paul McMillan to Raphael Michel
-
Property
Type
changed from
Cleanup/optimization
toNew feature
-
Property
Status
changed from
-
Ticket #16859 – Description
initial v13 1 This is a ticket to keep track of general CSRF improvements we want to add to Django. 2 3 This includes: 4 5 * #16010 - add Origin checking 6 * Optionally tie CSRF to sessions 7 * Use signing to improve CSRF (maybe with sessions) 8 * Improve domain/host checking - deal with the subdomain to subdomain problem 1 Storing the CSRF token in a cookie (Django's default) is safe, but storing it in the session is common practice in other web frameworks and therefore sometimes demanded by security auditors.