Google如何跟踪客户端设备信息 [英] How do Google track client device information

查看:107
本文介绍了Google如何跟踪客户端设备信息的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想开发一个登录门户网站,为了安全起见,它将拥有一份客户端设备信息的专业保存记录。它应该类似于Google团队为gmail所做的事情。当我们使用新设备登录gmail帐户时,我们会收到来自gmail团队的邮件,告知我们是否购买了新设备。谷歌如何获取我的设备信息?它是通过跟踪我的Mac地址(我认为因为mac地址可以更改而不太可靠)吗?



我尝试了什么:



我离开的最远的是记录客户的IP地址。

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.

推荐答案

没有问他们 - 我怀疑他们是否会告诉你 - 我们无法分辨。



但是......它不会是MAC地址(它们只是在局域网/ WiFi网段中是独一无二的,不是全球性的,而且非常容易欺骗)而且它不是IP地址(它们在大多数时候重新启动路由器时会发生变化,并且无论如何都没有链接到设备,但是到路由器本身)。



我这样做的方式?饼干或等同物......
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 ...


这篇关于Google如何跟踪客户端设备信息的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆