Web Security · Junior · Question 14 of 75

What is a secure context in the browser?

Explanation

Many APIs require a secure context because a network attacker could otherwise abuse them. window.isSecureContext tells you if the current page qualifies.

Further reading

Problem with a question

Web Security · Junior · question 14

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