Secure authentication in e-government 2.0: a comparative analysis of traditional session-based and modern jwt-based authentication

In the era of e-Government 2.0, the security of web applications is paramount, particularly in terms of user authentication. This article provides a comprehensive examination of two primary authentication methods: session-based authentication and JSON Web Token (JWT)-based authentication. It begins by discussing the foundational aspects of secure authentication, emphasizing its importance in e-Government platforms. The article then delves into the mechanics of session-based authentication, highlighting its reliance on server-side session management and the associated challenges. In contrast, JWT-based authentication is explored in depth, showcasing its stateless nature, structure, and the advantages of using access and refresh tokens in theory and also in practice. Through a detailed code example in Express.js, the article demonstrates the implementation of JWT-based authentication in a web application. The analysis concludes by summarizing the benefits of JWT, including enhanced security, scalability, and improved user experience, making it a suitable choice for modern e-Government applications.

Authors

Institutions

Publication Details

Journal
International Science Journal of Engineering & Agriculture
Published
2024-12-01
DOI
https://doi.org/10.46299/j.isjea.20240306.12
Primary Topic
Privacy, Security, and Data Protection
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Secure authentication in e-government 2.0: a comparative analysis of traditional session-based and modern jwt-based authentication

H.F. Aslanova, Elchin Babayev, Nargiz Rahimli, Ilgar Shikhverdiyev et al.
International Science Journal of Engineering & Agriculture
Privacy, Security, and Data Protection
article

Secure authentication in e-government 2.0: a comparative analysis of traditional session-based and modern jwt-based authentication

H.F. Aslanova, Elchin Babayev, Nargiz Rahimli, Ilgar Shikhverdiyev, Ceyhun Rahimli
article en

Abstract

In the era of e-Government 2.0, the security of web applications is paramount, particularly in terms of user authentication. This article provides a comprehensive examination of two primary authentication methods: session-based authentication and JSON Web Token (JWT)-based authentication. It begins by discussing the foundational aspects of secure authentication, emphasizing its importance in e-Government platforms. The article then delves into the mechanics of session-based authentication, highlighting its reliance on server-side session management and the associated challenges. In contrast, JWT-based authentication is explored in depth, showcasing its stateless nature, structure, and the advantages of using access and refresh tokens in theory and also in practice. Through a detailed code example in Express.js, the article demonstrates the implementation of JWT-based authentication in a web application. The analysis concludes by summarizing the benefits of JWT, including enhanced security, scalability, and improved user experience, making it a suitable choice for modern e-Government applications.

International Science Journal of Engineering & AgricultureVol. 3(6)
Azerbaijan Technical University (AZ)
Openalex Percentile: Top 65%
Privacy, Security, and Data Protection
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.