examerioLogin
← Cloud & DevOpsQuestion 16 of 50

Is CORS a backend security mechanism? Why or why not?

πŸ“˜ Explanation

CORS is enforced by the browser, not the server, so it protects users from malicious scripts but does nothing to stop direct requests from tools like curl or Postman. That's why servers still need real security like authentication and authorization. The other options wrongly claim the server actively blocks requests or that CORS prevents all unauthorized requests, which isn't how it works.

Related questions

← PreviousNo login needed