avatar-TFatunmbi.png Teniola Fatunmbi

I am a web developer and computer science undergraduate. I build web applications with JavaScript (React and Node) and also write about them sometimes.

All Posts by Teniola Fatunmbi

A Comparison of Cookies and Tokens for Secure Authentication

Access control in websites and web applications is a top priority for security, but how you set up access depends on how you store the data to be authenticated. This, in turn, enables user authorization. Cookies and tokens are two common ways of setting up authentication. Cookies are chunks of data created by the server and sent to the client for communication purposes. Tokens, usually referring to JSON Web Tokens (JWTs), are signed credentials encoded...

Read more