|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
|
|
Any Risk to System Queues by Enabling List Queues Feature? |
« View previous topic :: View next topic » |
Author |
Message
|
kdjasper |
Posted: Tue Sep 28, 2004 7:20 pm Post subject: Any Risk to System Queues by Enabling List Queues Feature? |
|
|
Guest
|
Hi Roger.
I have crossed the system security hurdle by using BlockIP2 security exit to ensure that only legitimate users are connecting via MQ Visual Browse and MQ Visual Edit. In doing so, I chose to leave the MCAUSER blank on the MQCLIENT.SVRCONN channel I created for using MQVB & MQVE, as I feel confident in how tight I have the rules in the BlockIP2 config file (doing so returns a 2063 security error for invalid userids rather then 2035 within MQVB & MQVE). Also, having it set up this way I get "connection refused" in the BlockIP2 log rather then "connection accepted" for invalid access attempts. I did, however, change MCAUSER=NoBody on both the SYSTEM.AUTO.SVRCONN and SYSTEM.DEF.SVRCONN channels for security reasons.
In order for userids not in the mqm group (Windows 2000 Server) to list the queues, I needed to do the following as I discovered at: http://www.mqseries.net/phpBB2/viewtopic.php?t=16579
Quote: |
Also, here are the commands for you to partially list queues (with a mask).Code:
setmqaut -m TESTQM -t qmgr -g mqmon +dsp +allmqi
setmqaut -m TESTQM -t q -n SYSTEM.** -g mqmon +dsp +allmqi |
My question is, what risk is there in letting authorized users have +allmqi to the system queues with MQVE? I am a new MQ Admin having no formal training, but I am not sure if I am comfortable with users having this ability (I know I can take it away, but then they will get 2035 error when trying to list the queues). Is +allmqi needed on ALL system queues (SYSTEM.**) for the pcf command to work and retrieve the queue list, or can a subset be used? I was able to trim it down to the following and have it work, but was hoping to trim it down to as few system queues as possible.
Code: |
setmqaut -m TESTQM -t q -n SYSTEM.** -g mqmon +dsp +get +put +inq +set |
Thanks for the help |
|
Back to top |
|
|
RogerLacroix |
Posted: Tue Sep 28, 2004 9:30 pm Post subject: |
|
|
Jedi Knight
Joined: 15 May 2001 Posts: 3258 Location: London, ON Canada
|
Hi,
For MQ Visual Edit / Browse only need access to 'SYSTEM.ADMIN.COMMAND.QUEUE' and 'SYSTEM.DEFAULT.MODEL.QUEUE' for the 'List of Queues' function. If so you really want to tighten down security then do the following 2 commands instead of your SYSTEM.** command:
Code: |
setmqaut -m TESTQM -t q -n SYSTEM.ADMIN.COMMAND.QUEUE -g mqmon +dsp +get +put +inq
setmqaut -m TESTQM -t q -n SYSTEM.DEFAULT.MODEL.QUEUE -g mqmon +dsp +allmqi |
I don't believe you need the '+set' parameter for the 'SYSTEM.ADMIN.COMMAND.QUEUE' queue.
Regards,
Roger Lacroix _________________ Capitalware: Transforming tomorrow into today.
Connected to MQ!
Twitter |
|
Back to top |
|
|
kdjasper |
Posted: Wed Sep 29, 2004 8:04 am Post subject: Thanks! |
|
|
Guest
|
Roger, you are right on top of things!
I changed security per your suggestion, and it works beautifully. Much nicer from a user perspective to not see all those system queues listed. From an Admin perspective I am more relaxed without allowing puts to all the system queues.
Cheers!
|
|
Back to top |
|
|
RogerLacroix |
Posted: Thu Sep 30, 2004 12:35 pm Post subject: |
|
|
Jedi Knight
Joined: 15 May 2001 Posts: 3258 Location: London, ON Canada
|
kdjasper,
I did a little more testing and got the 2 rules down to:
Code: |
setmqaut -m TESTQM -t q -n SYSTEM.ADMIN.COMMAND.QUEUE -g mqmon +dsp +inq +put
setmqaut -m TESTQM -t q -n SYSTEM.DEFAULT.MODEL.QUEUE -g mqmon +dsp +inq +get |
Regards,
Roger Lacroix
Capitalware Inc. _________________ Capitalware: Transforming tomorrow into today.
Connected to MQ!
Twitter |
|
Back to top |
|
|
|
|
|
|
Page 1 of 1 |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|
|
|