Pre-Summer Special Limited Time 70% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: validbest

Exam CAP All Questions
Exam CAP All Questions

View all questions & answers for the CAP exam

The SecOps Group AppSec Practitioner CAP Question # 16 Topic 2 Discussion

CAP Exam Topic 2 Question 16 Discussion:
Question #: 16
Topic #: 2

Under the same-origin policy (also SOP), a web browser permits scripts contained in a web page to access data in another web page, but only if both web pages have the same origin. Which of the following pages are in the same origin as that of the below URL?

http://www.example.com/dir/page2.html

    http://www.example.com/dir/other.html

    http://www.example.com:81/dir/other.html

    http://www.example.com/dir/other.html

    http://en.example.com/dir/other.html


A.

1 Only


B.

1 and 2


C.

1, 3 and 4


D.

None of the above


Get Premium CAP Questions

Contribute your Thoughts:


Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.