ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » General IBM MQ Support » MCA user

Post new topic  Reply to topic
 MCA user « View previous topic :: View next topic » 
Author Message
swann
PostPosted: Tue Nov 08, 2011 7:58 pm    Post subject: MCA user Reply with quote

Acolyte

Joined: 21 Jun 2011
Posts: 50

Hi Friends,
To my understanding,a client connecting to a Queue manager through SVR connection channel should have his ID added where the QM resides with privileged connection authorities.If this is the case then we can just ignore the MCA user field.
Another assumption is If the MCA user field in the SVR connection channel is set to "mqm" then any user with his ID added in the system where QM resides , be overwritten and he has a full administrative authority irrespective of assigned authority.
Any corrections or the validations on the above notes will be greatly appreciated.
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Tue Nov 08, 2011 9:29 pm    Post subject: Re: MCA user Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20756
Location: LI,NY

swann wrote:
Hi Friends,
To my understanding,a client connecting to a Queue manager through SVR connection channel should have his ID added where the QM resides with privileged connection authorities.If this is the case then we can just ignore the MCA user field.
Another assumption is If the MCA user field in the SVR connection channel is set to "mqm" then any user with his ID added in the system where QM resides , be overwritten and he has a full administrative authority irrespective of assigned authority.
Any corrections or the validations on the above notes will be greatly appreciated.

To your first point: not quite.
If you use a SVR channel, anybody who knows this server channel can connect. If no user information is passed the message will assume the authority of the agent (mqm) and as such your qmgr is open to everybody in admin mode....

To avoid this 2 things:
  • Setting the MCAUser forces the user to the preset value regardless of whether the user has been defined to the system or not. The preset user on the channel's MCAUser field should have been defined to the system.

  • Using SSL, ensures that only authorized users will be able to connect.


Have fun
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
zpat
PostPosted: Tue Nov 08, 2011 11:58 pm    Post subject: Reply with quote

Jedi Council

Joined: 19 May 2001
Posts: 5866
Location: UK

You never want to have a svrconn mcauser set to mqm, unless also secured by SSL peer level checking of identity.

BlockIP2 (which does far more than just allow IP checking) can be used to allow the id to be passed from the client, but block use of mqm (or others deemed unacceptable). This is a free exit.
Back to top
View user's profile Send private message
Vitor
PostPosted: Wed Nov 09, 2011 6:17 am    Post subject: Re: MCA user Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

swann wrote:
To my understanding,a client connecting to a Queue manager through SVR connection channel should have his ID added where the QM resides with privileged connection authorities.If this is the case then we can just ignore the MCA user field.


More or less. I'd call it "connection authority"; privledge implies some high level of control. The user will need connect authority on the queue manager just like he needs get or put on the queue manager.

Note that the user id is not validated by the queue manager. It's possible for an application to spoof it's identity and use a different user id. Likewise the user id passed can vary by OS & situation. Hence the suggestion by my worthy associate to use BlockIP2 or other additional security in this circumstance.


swann wrote:
Another assumption is If the MCA user field in the SVR connection channel is set to "mqm" then any user with his ID added in the system where QM resides , be overwritten and he has a full administrative authority irrespective of assigned authority.


Yes. Never put mqm in a SVRCONN. Unless you're certain you've got SSL locked down really tight. Perhaps not even then.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
mqjeff
PostPosted: Wed Nov 09, 2011 6:25 am    Post subject: Re: MCA user Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

it's perfectly okay to create a specific SVRCONN that is designated and designed to act as an administration only channel, and thus has MCAUSER==MQM.

BUT, it must then have a very very tight SSL configuration, including a very exclusive SSLPEER value. And the certs that match that are then also handled under very tight controls as if they were the keys to the server room - which they are.

However, if you then leave the rest of the channels into this queue manager, regardless of type, without an SSL configuration, then it doesn't matter what you did with this svrconn.
Back to top
View user's profile Send private message
Vitor
PostPosted: Wed Nov 09, 2011 6:36 am    Post subject: Re: MCA user Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

mqjeff wrote:
it's perfectly okay to create a specific SVRCONN that is designated and designed to act as an administration only channel, and thus has MCAUSER==MQM.

BUT, it must then have a very very tight SSL configuration, including a very exclusive SSLPEER value. And the certs that match that are then also handled under very tight controls as if they were the keys to the server room - which they are.


You rapidly end up with diminishing returns in terms of security. If the server room has a single key (a channel with mqm), you then need to lock the key in a secure box (which everyone will know where it is) and hand out keys to the box to everyone who needs to use it, then track who has those keys, and handle the certificate expiration.

Is that administratively better or worse than having a known number of keys to the server room given to a known list of people?

mqjeff wrote:
However, if you then leave the rest of the channels into this queue manager, regardless of type, without an SSL configuration, then it doesn't matter what you did with this svrconn.



_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
mqjeff
PostPosted: Wed Nov 09, 2011 6:40 am    Post subject: Re: MCA user Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

Vitor wrote:
mqjeff wrote:
it's perfectly okay to create a specific SVRCONN that is designated and designed to act as an administration only channel, and thus has MCAUSER==MQM.

BUT, it must then have a very very tight SSL configuration, including a very exclusive SSLPEER value. And the certs that match that are then also handled under very tight controls as if they were the keys to the server room - which they are.


You rapidly end up with diminishing returns in terms of security. If the server room has a single key (a channel with mqm), you then need to lock the key in a secure box (which everyone will know where it is) and hand out keys to the box to everyone who needs to use it, then track who has those keys, and handle the certificate expiration.

Is that administratively better or worse than having a known number of keys to the server room given to a known list of people?

It depends on how many queue managers there are, such that one choice allows me to manage them from a single machine and the other choice requires that I manage them individually from each machine.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » General IBM MQ Support » MCA user
Jump to:  



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
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.