Web Security · Middle · Question 14 of 75

What is a hash-based CSP source like 'sha256-...'?

Explanation

Hashes suit static pages where the inline code doesn't change. Any change to the script means the hash must be updated.

Further reading

Problem with a question

Web Security · Middle · question 14

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