[zeromq-dev] best approach for client authorization in pub-sub?

Paul Kotlyar unclepaul84 at gmail.com
Tue Jan 15 16:17:47 CET 2013


I concur with John's suggestion. This is how satellite TV providers do it. They 
allow anyone with a dish to subscribe but only send out keys to authorized 
boxes.

You can do this with a combo of PUB/SUB and a ROUTER/DEALER combo.

See http://zguide.zeromq.org/page:all#Getting-an-Out-of-band-Snapshot

So before subscribing, a client would identify itself to the Router socket and 
recieve keys for the topics it wants to subscribe to. 

HTH





More information about the zeromq-dev mailing list