In a token-based authentication system, using a ______ approach helps in reducing the risk of token interception and replay attacks.
- Stateless
- Stateful
- Hybrid
- Cookie-based
In a token-based authentication system, a "stateless" approach is used to reduce the risk of token interception and replay attacks. Stateful approaches require server-side storage, while stateless approaches are based on self-contained tokens, which do not rely on server-side storage, making them more secure.
Loading...
Related Quiz
- In the context of closures, what is meant by the term 'lexical scoping' in JavaScript?
- You are designing an authentication system for a new API. The API will be accessed by both web clients and other services. Which authentication strategy would be most suitable to ensure security and scalability?
- In Node.js, to interact with SQL databases, an ORM like ______ can be used.
- The package-lock.json file contains a ______ field that represents the exact installed version of each package.
- When using the Buffer.concat(list[, totalLength]) method in Node.js, if the totalLength is not provided, it is calculated from the ______ of the buffers in the list.