Question 7
What is the purpose of CORS in web security?
To allow browsers to make requests to any domain without restrictions.
To prevent the server from making requests to unauthorized origins.
To allow a web application to request resources from a different domain securely.
To restrict all incoming requests to the same domain.