如何唯一地识别计算机? [英] How to uniquely identify a computer?

查看:116
本文介绍了如何唯一地识别计算机?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有什么办法可以抢"一些个性化的ID,INFO,NAME,NUMBER,DATA等?

Is there any way to 'grab' some personalized ID, INFO, NAME, NUMBER, DATA, etc.?

是否只是要区分和识别同一IP上的两台或更多PC:是否像$_SESSION之外的用户计算机名?

Anything just to differentiate and recognize two or more PC on the same IP: something like the Computer name of the user besides $_SESSION?

这些工作都没有:

$hostname = gethostbyaddr($_SERVER['REMOTE_ADDR']);
php_uname('n');
php_uname();

推荐答案

好吧,您将无法仅通过HTTP请求执行此操作,但是您可以使用以下技术:

Well, you won't be able to do this from only the HTTP request, but you do have at your disposal the following techniques:

  1. 远程地址
  2. Cookies/会话
  3. 用户代理
  4. 客户端Web技术(例如Java或Flash或Silverlight对象)

基本上,您可以使用 Evercookie 的概念来识别客户端.话虽这么说,为什么不只使用登录系统呢?

Basically, you can use the concepts of Evercookie to identifiy a client. That being said, why not just use a login system?

这篇关于如何唯一地识别计算机?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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