Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!news.internetdienste.de!news.tu-darmstadt.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail From: "J.O. Aho" Newsgroups: comp.lang.php Subject: Re: Browser fingerprinting? Date: Fri, 13 Sep 2013 06:59:35 +0200 Lines: 39 Message-ID: References: <9sd439tbmqhqgqice5psd6nd3018rcr5v6@4ax.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: individual.net N5pW0/RxHNPaFQ1NrDKTWQ5coZtfP9ek+366z/jG586s4oezfF Cancel-Lock: sha1:xT7WdTVYFJRoewAlO9KZ8e2xFOQ= User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130808 Thunderbird/17.0.8 In-Reply-To: Xref: csiph.com comp.lang.php:10749 On 13/09/13 02:31, Jerry Stuckle wrote: > On 9/12/2013 5:56 PM, Gilles wrote: >> Hello >> >> I googled the archives of this ng, but didn't find much. >> >> I'd like to find some good PHP code that does what Panopticlick does, >> namely uniquely identify a user's browser even when they connect as >> anonymously as they can, ie. either in incognito mode or by running a >> browser in a virtual host: >> >> www.lifehacker.com/5458513/panopticlick-shows-how-easy-your-browser-is-to-track >> >> >> The goal is to keep trolls away from a site. As there aren't that many >> browser available, they should tire quickly, profited they even think >> of installing another browser. >> >> Is there some code PHP code for that? >> >> Thank you. >> > > You can easily detect the browser the user is using, and you can detect > the IP address. > > However, browsers can easily be forged (as others have indicated), and > since there are only a few browsers available, a lot of people use them. The idea with browser fingerprint is to look other things than the browser itself as operating system, installed plugins and supported fonts, those usually will stay the same even if you change browser, but the information need ain't accessible for PHP, you would need to relay on javascript and then we are off topic and the OP should be looking for answers elsewhere. -- //Aho