What is the most reliable way to detect if a user logs in from a different device than usual?

I suspect that we are all familiar with how facebook and google and the like discover if you use a different device than usual, I was wondering what is the most reliable way to do this?

I’m talking about the old “It looks like you are logging in from another device”, and then when you confirm, etc., it usually sends you an email and asks if you want to trust this device or not.

Obviously, you could just set a cookie that can be checked and registered every visit, but what about when the user logs out? Do we save cookies?

Is there any other reliable “trust” “device” method other than setting cookies? Or is this the best / most reliable way to do this?

+4
source share
1 answer

The most reliable way to detect device changes is to create a fingerprint on the browser / device on which the browser is running. It is a difficult topic to get 100% right, and there are commercial offers that are pretty good, but not perfect. A few years ago I worked at one of these companies.

JS. , , , .

cookie , cookie 30-45 , , cookie ( ). .

IP- . IP- ( , Starbucks ), IP- ( Starbucks -).

UPDATE

-.

, . . , 100% , .

  • CPU , , .
  • . , .
  • , ( , , ).
  • , . , Windows 10?
  • . , . ?

, , , , . , , , . , .

+5

Source: https://habr.com/ru/post/1614646/


All Articles