简体   繁体   中英

Detect Different Machine using Browser

Some webapps like Facebook and gmail, detects the first time we try to login for the first time in one machine.

Assuming that a browser can't read machine name, and MAC ADDRESS. What kind of variables are they collection for doing this validation?

They check for cookies, which are stored by the browser on the client pc and sent to the servers. If there is no certain cookie present they assume it is the first time.

在此处输入图片说明

Image source: https://en.wikipedia.org/wiki/HTTP_cookie

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM