signalr.client - Can SignalR connection IDs be faked? -
just how connection id determined in signalr? user purposefully use person's connection id pretend them?
obviously there's difficulty of determining person's connection id since there's many possible ids. however, application make users aware of other user's connection ids because application requires peers interact , i've used connection id unique user id.
can connection ids chosen users? , can users somehow switch another, known id or there other protection in place?
i refer connection ids obtained server side via context.connectionid
.
no. connection id assigned server. apart connection id server sends connection token calculated using few pieces of information including connection id. if server receives request connection id , connection token don't match request rejected. if want understand how signalr protocol works in general read post wrote time ago . if want more details on connection id , connection token read this.
Comments
Post a Comment