Web Security · Middle · Question 33 of 75

Why should Access-Control-Allow-Origin: null never be allowed with credentials?

Explanation

Trusting null for local development often ends up in production and lets any page that makes a sandboxed iframe read your data.

Further reading

Problem with a question

Web Security · Middle · question 33

Test yourself

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

Take this quiz