You should read:
http://www.rabbitmq.com/admin-guide.html#access-control

In short, access to queues (and to a few other things) is controlled by
three permission strings that each user has. So, UserB can subscribe to
QueueA, provided he guesses the queue's name correctly and that he has
read access to broker-named queues.

You can protect UserA's queues from being read by UserB, but you
have to name them yourself (and make sure that UserB does not have
access to queues named that way). A simple way to do this would be to
name UserX's queues "userx.<something random>" and to only grant him
access to "userx\..*" (i.e. all names beginning with the string
"userx.").

Hope this helps.

Cheers,
Alex
On Thu, Oct 27, 2011 at 12:17:28PM -1000, Julio Polo wrote:
I'm new to RabbitMQ. Are queues only readable to the user that
declared it? In other words, if UserA declares QueueA, and UserB
declares QueueB, both under the same vhost and same exchange, can
UserB subscribe to QueueA if he guesses the name of QueueA correctly?

Julio Polo
University of Hawaii
_______________________________________________
rabbitmq-discuss mailing list
rabbitmq-discuss at lists.rabbitmq.com
https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss

Search Discussions

Discussion Posts

Previous

Follow ups

Related Discussions

Discussion Navigation
viewthread | post
posts ‹ prev | 2 of 4 | next ›
Discussion Overview
grouprabbitmq-discuss @
categoriesrabbitmq
postedOct 27, '11 at 10:17p
activeOct 27, '11 at 11:24p
posts4
users3
websiterabbitmq.com
irc#rabbitmq

People

Translate

site design / logo © 2018 Grokbase