Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

197
Views
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 answers
Answer question

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 Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!