|
International Journal of Computer Applications
Foundation of Computer Science (FCS), NY, USA
|
| Volume 187 - Issue 72 |
| Published: January 2026 |
| Authors: Mohammed Ali Rizvi, Neha Jain |
10.5120/ijca2026926220
|
Mohammed Ali Rizvi, Neha Jain . Securing RESTful APIs with Middleware-based Threat Mitigation. International Journal of Computer Applications. 187, 72 (January 2026), 55-69. DOI=10.5120/ijca2026926220
@article{ 10.5120/ijca2026926220,
author = { Mohammed Ali Rizvi,Neha Jain },
title = { Securing RESTful APIs with Middleware-based Threat Mitigation },
journal = { International Journal of Computer Applications },
year = { 2026 },
volume = { 187 },
number = { 72 },
pages = { 55-69 },
doi = { 10.5120/ijca2026926220 },
publisher = { Foundation of Computer Science (FCS), NY, USA }
}
%0 Journal Article
%D 2026
%A Mohammed Ali Rizvi
%A Neha Jain
%T Securing RESTful APIs with Middleware-based Threat Mitigation%T
%J International Journal of Computer Applications
%V 187
%N 72
%P 55-69
%R 10.5120/ijca2026926220
%I Foundation of Computer Science (FCS), NY, USA
With the rapid adoption of RESTful APIs in web, mobile, and cloud-based ecosystems, ensuring their security has become a critical challenge. Despite the availability of established standards such as OAuth 2.0, TLS, and JWT, real-world implementations often remain vulnerable due to inadequate input validation, weak authentication practices, and insufficient logging or monitoring mechanisms. This research proposes a middleware-based security framework designed to enhance REST API resilience through layered protection and real-time threat mitigation. The middleware acts as an intermediary security layer that validates incoming requests, enforces authentication and authorization policies, and performs intelligent logging and anomaly detection before allowing data flow to backend services. Key contributions include the design and implementation of a modular middleware architecture, seamless integration with existing authentication systems, and a unified logging and alerting mechanism to support proactive incident response. To evaluate the framework, controlled local experiments were conducted using simulated attack payloads targeting common vulnerabilities such as SQL injection, cross-site scripting, and insecure object references. The results demonstrate a significant reduction in successful attack attempts and minimal performance overhead, indicating that middleware-based security can provide an effective and practical defense for RESTful APIs without compromising efficiency [1][7].