Web Security · Senior · Question 28 of 75

Why do security teams serve user-uploaded content from a separate domain like usercontent.example?

Explanation

A separate registrable domain (not a subdomain) avoids same-site cookie sharing too. Large platforms use this sandbox domain approach.

Further reading

Problem with a question

Web Security · Senior · question 28

Test yourself

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

Take this quiz