Basic Security Concepts: Authentication

Fundamental security concepts and authentication methods

Overview

This document covers the basic security concepts and authentication methods used in web applications.

Authentication Methods

MethodDescriptionUse Cases
Basic AuthSimple username/password authentication sent in HTTP headersDevelopment environments, simple APIs
JWT TokenJSON Web Tokens for stateless authenticationModern web applications, microservices
OAuth2Authorization framework that enables third-party applications to obtain limited accessSocial logins, API authorization

Basic Authentication

Basic Authentication is a simple authentication scheme built into the HTTP protocol. The client sends HTTP requests with the Authorization header that contains the word Basic followed by a space and a base64-encoded string username:password.


JSON Web Token (JWT)

Understanding JSON Web Tokens (JWT) for secure authentication and information exchange.

OAuth2

Tài liệu về OAuth2 và cách sử dụng trong hệ thống


Last modified March 27, 2025: Edit members.yaml (21070ed)