Recognize a website user without logging in?

I would like to create a piece of code that can be embedded on different sites (widget).

Is there a way my code can identify a user without logging in? Ie, can I use any of the established authentication mechanisms that float across the network to reliably identify them through instances of this widget?

I do not need (and I can not) use any information about this user, just identify them.

Websites will be heterogeneous; there is no guarantee that they will have any common aspects, so the widget code must be completely autonomous.

+3
source share
5

, , cookie. , cookie.

Electronic Frontier Foundation . , :

  • User-Agent
  • http-accept
  • cookie .

, , , , , .

+5

OpenID - SSO , OpenID. , .

+3

, Sign Sign In. , , , . Wich . - SSO. Ff , .

. javascript-, Google? javascript , , iframe.

src ( ). <img src=contentserver.com/track.php?id=12345668>

script (track.php ), , .

.

Edit2

javascript. javascript . , . javascript unique_id(), . track.php ajax, , .

0

Open-ID, - , , , :

cookie , , URL-

, foo.com :

http://bar.com/addwidget1?backtoo=http://foo.com/main/

bar.com cookie, :

foo.com/user-id/

  • .
  • , .
  • - .
  • cookie.

  • , .
0

OpenID . , , , cookie, URL.

OpenID, - . , , , OpenID, . , , OpenID, cookie .

Facebook ; Facebook ( , ) - .

0

Source: https://habr.com/ru/post/1731476/


All Articles