Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

193
Visualizações
Best way to detect an unknown device to alert the user

So I'm working on adding an alert to our web application when a user logs in from an unknown device. I'm trying to figure out the best way to actually detect the unknown device, and what the industry standard is.

I initially thought about using cookies, but the user would still get the warning if they used a different browser or simply cleared their cookies. My second thought was storing their IP in the database and checking against that, but their IP could change as well.

Any ideas? What do companies like Facebook, Google, etc. do when they generate these warnings?

about 4 years ago · Juan Pablo Isaza
1 Respostas
Responde à pergunta

0

Generally, login systems keep a track of the following

  1. user location (IP Address)
  2. device details - os, client (browser/mobile app)

Whenever a user logs in, the system checks for these combinations. If any of the information has changed, the system will send a notification to the user.

Check Baeldung's article for reference

about 4 years ago · Juan Pablo Isaza Relatório
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda