Web Security · Junior · Question 38 of 75

What does the same-origin policy stop?

Explanation

Cross-origin images, scripts and form submissions are allowed. What's blocked by default is reading the response, such as the body of a fetch to another origin.

Further reading

Problem with a question

Web Security · Junior · question 38

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