Correct with the following code snippet?
function checkApiKey (apiKeyFromDb, apiKeyReceived) {
if (apiKeyFromDb === apiKeyReceived) {
return true
}
return false
}
Réponse à la question d'entretien
Utilisateur anonyme
26 août 2017
How can you secure your HTTP cookies against XSS attacks?