Web Security · Middle · Question 21 of 75

In Next.js, how is a nonce-based CSP usually set up?

Explanation

A per-request nonce means pages are rendered dynamically. Static pages can use hashes or a less strict policy instead.

Further reading

Problem with a question

Web Security · Middle · question 21

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