Correct with the following code snippet?
function checkApiKey (apiKeyFromDb, apiKeyReceived) {
if (apiKeyFromDb === apiKeyReceived) {
return true
}
return false
}
Antwort im Vorstellungsgespräch
Anonym
26. Aug. 2017
How can you secure your HTTP cookies against XSS attacks?