开发者

How to uniquely identify a computer?

开发者 https://www.devze.com 2023-02-12 04:43 出处:网络
Is there any way to \'grab\' some personalized ID, INFO, NAME, NUMBER, DATA, etc.? Anything just to differentiate and recognize two or more PC on the same IP: something like the Computer name of the

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

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

None of these work:

$hostname = gethostbyaddr($_SERVER['REMOTE_ADDR']);
php_una开发者_如何学编程me('n');
php_uname();


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. Remote Address
  2. Cookies/Session
  3. User Agent
  4. Client-side Web Technologies (e.g. Java or Flash or Silverlight object)

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


No.

(At least not without the users' explicit cooperation.)


There's plenty of information that can be used to create a browser 'fingerprint', but nothing that's guaranteed to be unique. You can find a list of the various data point at the Panopticlick site.


You can try to use OCS inventory! http://www.ocsinventory-ng.org/en/

0

精彩评论

暂无评论...
验证码 换一张
取 消