Click here to Skip to main content
15,890,123 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I want to develop a login portal which will have one specialty- keeping record of the client device information for security purpose. It should be similar to what google team do for gmail. When we login to gmail account with a new device, we get a mail from gmail team regarding whether we have bought a new device. How does google gets info of my device? Is it by tracking my Mac address (which I think is not much reliable since mac address can be changed)?

What I have tried:

The furthest I have gone is keeping record of the Ip address of the client.
Posted
Updated 15-Oct-17 4:24am

1 solution

Without asking them - and I doubt if they would tell you - we can't tell.

But... it won't be MAC address (they are only unique within a LAN / WiFi segment, not globally, and very easy to spoof) And it won't be IP address (they change when you power cycle the router most of the time, and aren't linked to a device anyway, but to the router itself).

The way I'd do it? Cookies or equivalent ...
 
Share this answer
 
Comments
F-ES Sitecore 15-Oct-17 10:32am    
It might also tap into the headers or user agent.
OriginalGriff 15-Oct-17 11:03am    
Loads of things it could do!
User agent doesn't tell you much of any real use though:
https://www.whoishostingthis.com/tools/user-agent/
It doesn't identify my desktop as separate from the WookieTab for example, except for having different screen resolution, and it changes every time Chrome updates (which seems like daily sometimes).

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900