Empowering Robust Security Measures in Node.js-Based REST APIs by JWT Tokens and Password Hashing: Safeguarding Cyber World
DOI:
https://doi.org/10.63075/w2nam443Abstract
This research analyzes the practical implementation of the security measures on the node. js-based REST APIs. This research paper studies authorization and authentication with the use of role-based access control, JWT tokens and password hashing. It also addresses the common vulnerabilities to the APIs like SQL Injection, Cross-site scripting attacks with the help of the parameterized queries and some of the input validations. The testing was conducted by the postman which demonstrates the good results that reduce the vulnerabilities of the SQL injection attacks and cross-site scripting attacks. This research paper also looks at the trade-offs between performance and security. The findings result in the best security measure to make REST APIs secure.