PubNubStream Controller: Channel Groups


When using Channel Groups, you should not add or remove channels in your client side applications. This example shows adding channels to a channel group and subscribing to that channel group for simplicity sake. But in a real world scenario, you should have your server do all the add/remove of channels to/from channel groups. When you enable Access Manager, you will need the manage permission to add/remove channels to/from channel groups and you should never grant the manage permission to clients for security reasons. Only your server should be granted the manage permission.

Related Examples

Subscribe with Channel Groups in JavaScript