Skip to content

I am reading API Security on Action by Neil Madden and I want to code along to make things stick a bit better. Also, I want to practice using Http4K.

Notifications You must be signed in to change notification settings

Alfhir/ApiSecurityInActionHttp4K

Repository files navigation

ApiSecInActionHttp4k

I am reading API Security on Action by Neil Madden and I want to code along to make things stick a bit better. Also, I want to practice using Http4K.

Roadmap

Thread modelling with STRIDE

// TODO

General Scheme

  1. Rate limiting (at load-balancer / reverse proxy / API gateway, but opt. also per server for defense in depth)
  2. Authentication (various methods, do a branch per chapter)
  3. Audit logging (simple first, maybe explore OT and Honeycomb later)
  4. Access control

Code along the books chapters and create a...

  • API with RDBMS storage
  • Session cookie Auth
    • Session cookies
    • Avoiding session fixation
    • Cookie security attributes
    • CSRF (SameSite cookies and Hash based double submit pattern)
    • Timing attacks
  • Modern token-based Auth
    • // TODO
  • Self-contained tokens and JWTs
    • // TODO
  • OAuth & OpenID Connect
    • // TODO
  • Identity based access control
    • // TODO
  • Capability based access control and macaroons
    • // TODO
  • K8s
    • // TODO
  • Securing Service-to-Service APIs
    • // TODO
  • Securing IOT
    • // Not doing that

Package

./gradlew jib

More details on building JIB can be found at https://github.com/GoogleContainerTools/jib/tree/master/jib-gradle-plugin

About

I am reading API Security on Action by Neil Madden and I want to code along to make things stick a bit better. Also, I want to practice using Http4K.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages