[keycloak-dev] Device fingerprinting

Douglas Palmer dpalmer at redhat.com
Wed Sep 19 15:01:54 EDT 2018


I think this is my preference too. If we go this route should we use ua-parser (https://github.com/ua-parser <https://github.com/ua-parser>) and maybe enhance it or should we write our own parser? Ua-parser as it stands lists my Mac as “Other” for the device.

Regards
Doug


> On Sep 19, 2018, at 11:11 AM, Stan Silvert <ssilvert at redhat.com> wrote:
> 
> On 9/19/2018 1:36 PM, Douglas Palmer wrote:
>> The user agent will give us some device info too, it will allow us to distinguish between PC, tablet and phone in most cases.
> My vote is to just do everything we can with the user agent right now.  
> We parse it and make it easy to consume from the REST API. Then later, 
> we figure out how to enhance it.
>> 
>> Regards
>> Doug
>> 
>> 
>>> On Sep 19, 2018, at 10:18 AM, Stian Thorgersen <sthorger at redhat.com> wrote:
>>> 
>>> From what I briefly read about fingerprinting and its legality it mentions it's not that OK if used to track users, but that's not the case in this situation I'd say, but hey I'm not a lawyer.
>>> 
>>> I wonder if we really do need anything beyond what the user agent string gives us. Perhaps OS/Browser is sufficient?
>>> 
>>> On Tue, 18 Sep 2018 at 22:03, Douglas Palmer <dpalmer at redhat.com <mailto:dpalmer at redhat.com>> wrote:
>>> Hi everyone
>>> 
>>> I haven’t managed to find an open source solution to device fingerprinting which gives us everything we need. This library however gets us most of the way there http://valve.github.io/fingerprintjs2 <http://valve.github.io/fingerprintjs2> <http://valve.github.io/fingerprintjs2 <http://valve.github.io/fingerprintjs2>>. It doesn’t give us enough information to distinguish between a desktop and a laptop but it will let us correlate devices and we can distinguish between a PC, a tablet and a phone. We can also get the OS, Browser and Versions from the user agent string.
>>> 
>>> I have taken a look at a few sites the track device sessions. Apple can tell the difference between an iMac, a MacBook, an iPad and an iPhone. Facebook, GitHub, Google, LinkedIn and Pinterest don’t distinguish between an iMac and a MacBook. So maybe the library above is enough.
>>> 
>>> I also came across the following article from the EFF which casts doubt on the legality of digital fingerprinting in Europe. https://www.eff.org/deeplinks/2018/06/gdpr-and-browser-fingerprinting-how-it-changes-game-sneakiest- <https://www.eff.org/deeplinks/2018/06/gdpr-and-browser-fingerprinting-how-it-changes-game-sneakiest->… <https://www.eff.org/deeplinks/2018/06/gdpr-and-browser-fingerprinting-how-it-changes-game-sneakiest-web-trackers <https://www.eff.org/deeplinks/2018/06/gdpr-and-browser-fingerprinting-how-it-changes-game-sneakiest-web-trackers>>
>>> 
>>> Does anyone have any input on any of this? Is there a better library that I have missed? Should we stick to parsing the user agent to avoid potential problems with GDPR?
>>> 
>>> Regards
>>> Doug
>>> _______________________________________________
>>> keycloak-dev mailing list
>>> keycloak-dev at lists.jboss.org <mailto:keycloak-dev at lists.jboss.org>
>>> https://lists.jboss.org/mailman/listinfo/keycloak-dev <https://lists.jboss.org/mailman/listinfo/keycloak-dev>
>> _______________________________________________
>> keycloak-dev mailing list
>> keycloak-dev at lists.jboss.org
>> https://lists.jboss.org/mailman/listinfo/keycloak-dev
> 
> 
> _______________________________________________
> keycloak-dev mailing list
> keycloak-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/keycloak-dev



More information about the keycloak-dev mailing list