Correct with the following code snippet?
function checkApiKey (apiKeyFromDb, apiKeyReceived) {
if (apiKeyFromDb === apiKeyReceived) {
return true
}
return false
}
Respuesta de la entrevista
Anónimo
26 de ago de 2017
How can you secure your HTTP cookies against XSS attacks?