Interviews4 answers
How to secure your Web API?
4 Answers
Use JWT (JSON Web Tokens).
Implement OAuth2/OpenID Connect.
Use HTTPS.
Apply API key authentication.
Implement rate limiting and IP whitelisting.
Siddhant SekharPosted Jan 6, 2025, 7:11 AM EST
jwt tokens
cors
model validation
rate limit
SQL injection
Jay VyasPosted May 17, 2024, 12:58 PM EDT
Use HTTPS
Authentication
Authorization
JWT (JSON Web Tokens)
Security Headers
Token Revocation
Security Middleware
Logging and Monitoring
Input Validation
Cross-Origin Resource Sharing (CORS)
Hamza ZerPosted Nov 30, 2023, 6:26 AM EST
1) Use HTTPS
2) Use token for authentication
3) Enable cors
4) Validation input values before triggering API Method
Rathrola Prem KumarPosted Oct 3, 2023, 5:19 AM EDT



