Security Practices I used on the backend during Tapha Development

Posted by     "" on Saturday, June 22, 2024

/** Article Soon **/

/******/

/******/

/******/

/** ARTICLE SOONNNNNNNNNN **/

/******/

/******/

/******/

Some of the security practise i used are

  • use of helmet for api security

  • use of rate limiting on a 15 mins window

  • secured cookies

  • JWT

  • CSRF applied to very important api route

  • the use of http-only cookies for now and my plan to change it once it begins to scale

since it is served from a single heroku instance I’ve decided to stick to http-only cookies (perfect for the session state i’m handling) but it won’t be able to scale as time goes on and more people use the platform