Quiz: Same Origin Policy

This lesson will test your understanding of the same origin policy in JavaScript.

We'll cover the following...

Question 1 #

Q

Which of the following is true about the same origin policy?

A)

It allows the script in one page to access data in another page

B)

It allows the script in one page to access data in another page only if they have the same origin

C)

It is a security protocol to prevent attacks like cross site scripting

D)

It does not allow any script to access data from another page regardless of the origin

...