Skip to content

Secure aginst CSRF#83

Merged
feedmeapples merged 1 commit intomainfrom
csrf
Jan 4, 2022
Merged

Secure aginst CSRF#83
feedmeapples merged 1 commit intomainfrom
csrf

Conversation

@feedmeapples
Copy link
Copy Markdown
Contributor

What was changed

Adds CSRF middleware that adds CSRF cookies and validates subsequent requests

Why?

Securing against CSRF

Checklist

  1. Closes

  2. How was this tested:

FOR requests that are determined as not safe (eg. PUT, DELETE) validated that the succeed only if client sets proper X-CSRF-TOKEN

  1. Any docs updates needed?

Base automatically changed from xss to main January 4, 2022 02:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants