DeepFrontend
Learning Paths
Practice
System Design & DS
Design Studio
Data Structures Curriculum
Real-World Case Studies
Careers
Job Board
Resume Builder
Blog
Sign in
Search
⌘K
Go Pro
Loading compiler resources...
Web Security Quiz Practice
Active Recall Drill Session
← Exit Session
Question 1 of 1
hard
Web Security
Why should a nonce be freshly generated per response rather than reused across requests?
A
Reusing it has no security implication at all
B
A reused/predictable nonce could eventually be observed or guessed by an attacker, letting them craft a matching injected script tag and defeat the protection
C
Nonces expire automatically after one use regardless of generation strategy
D
Browsers reject reused nonces as a hard error
Check Answer