Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Anti Cross-Site Request Forgery (CSRF) Protection #115

Closed
3 tasks done
jeevatkm opened this issue Sep 9, 2017 · 0 comments
Closed
3 tasks done

Anti Cross-Site Request Forgery (CSRF) Protection #115

jeevatkm opened this issue Sep 9, 2017 · 0 comments
Assignees
Labels
feature lib-security Security (Authc, Authz, Password Crypto, etc)
Projects

Comments

@jeevatkm
Copy link
Member

jeevatkm commented Sep 9, 2017

Goal is not just bring Anti Cross-Site Request Forgery (CSRF) protection support; instead smart Anti CSRF protection feature in aah.

https://www.owasp.org/index.php/Cross-Site_Request_Forgery_(CSRF)_Prevention_Cheat_Sheet

Things I'm aiming for:

  • Just enable it, aah will do the smart work
  • Support multiple HTML form
  • Check Anti-CSRF token for every non-safe methods defined in https://tools.ietf.org/html/rfc7231#section-4.2.1. Safe methods GET, HEAD, OPTIONS, TRACE
  • Take care of profile prod and dev appropriately
  • Check Anti-CSRF token in the order of HTTP Header, Form (application/x-www-form-urlencoded, multipart/form-data)
  • Implementation
  • App templete update (config, etc...)
  • Documentation
@jeevatkm jeevatkm created this issue from a note in aah Roadmap (Backlog) Sep 9, 2017
@jeevatkm jeevatkm moved this from Backlog to v0.9 - Iteration in aah Roadmap Sep 9, 2017
@jeevatkm jeevatkm added feature lib-security Security (Authc, Authz, Password Crypto, etc) labels Sep 9, 2017
@jeevatkm jeevatkm added this to the v0.9 Milestone milestone Sep 9, 2017
@jeevatkm jeevatkm changed the title Cross-Site Request Forgery (CSRF) Anti Cross-Site Request Forgery (CSRF) Protection Sep 11, 2017
@jeevatkm jeevatkm self-assigned this Sep 11, 2017
@jeevatkm jeevatkm moved this from v0.9 - Iteration to v0.9 - In Progress in aah Roadmap Sep 11, 2017
jeevatkm added a commit to go-aah/essentials that referenced this issue Sep 16, 2017
jeevatkm added a commit to go-aah/security that referenced this issue Sep 17, 2017
jeevatkm added a commit to go-aah/security that referenced this issue Sep 18, 2017
jeevatkm added a commit to go-aah/security that referenced this issue Sep 18, 2017
jeevatkm added a commit that referenced this issue Sep 21, 2017
@jeevatkm jeevatkm moved this from v0.9 - In Progress to v0.9 - Completed in aah Roadmap Sep 21, 2017
jeevatkm added a commit to go-aah/docs that referenced this issue Sep 21, 2017
@jeevatkm jeevatkm moved this from v0.9 - Completed to Released to Audience in aah Roadmap Oct 4, 2017
jeevatkm added a commit to go-aah/app-templates that referenced this issue Jul 4, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature lib-security Security (Authc, Authz, Password Crypto, etc)
Projects
aah Roadmap
  
Released to Audience
Development

No branches or pull requests

1 participant