Web Security · Junior · Question 41 of 75

Does CORS protect your API from attackers using curl or a script on their own server?

Explanation

CORS protects users' browsers from other websites reading data with their credentials. Non-browser clients ignore it completely.

Further reading

Problem with a question

Web Security · Junior · question 41

Test yourself

Take the Web Security · Junior quiz: questions and options are shuffled, and you get a review of your mistakes at the end.

Take this quiz