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 » MQ security related queries

Post new topic  Reply to topic
 MQ security related queries « View previous topic :: View next topic » 
Author Message
jarun111
PostPosted: Thu Oct 01, 2009 2:07 pm    Post subject: MQ security related queries Reply with quote

Acolyte

Joined: 19 Apr 2004
Posts: 70

Hi,
I have some queries regarding authorization/acccess set-up for MQ.

Below are my setting
Have a QM running on hostA
Have a client running on hostB

QM has a SVRCONN channel with no MCAUSER specified and I am trying to connect to a queue "QUEUE1" with no authorization specified (other than for "mqm" funcitnal ID)
JMS Client on hostA runs under it's functioal ID "mwm" and does not have any user ID/Passwd set while creating connection.

When I try sending message to the queue "QUEUE1", everything goes fine without any 2035 exception.

My requirement is
1> Client should not be able to connect to the QM until it runs under a permissionoed functional ID.
2> Client should not be able to connect to the queue until it runs under a permissionoed functional ID.

Am I missing something here? Please help with your inputs.

Thanks
Back to top
View user's profile Send private message
jeevan
PostPosted: Thu Oct 01, 2009 2:22 pm    Post subject: Re: MQ security related queries Reply with quote

Grand Master

Joined: 12 Nov 2005
Posts: 1432

jarun111 wrote:
Hi,
I have some queries regarding authorization/acccess set-up for MQ.

Below are my setting
Have a QM running on hostA
Have a client running on hostB

QM has a SVRCONN channel with no MCAUSER specified and I am trying to connect to a queue "QUEUE1" with no authorization specified (other than for "mqm" funcitnal ID)
JMS Client on hostA runs under it's functioal ID "mwm" and does not have any user ID/Passwd set while creating connection.

When I try sending message to the queue "QUEUE1", everything goes fine without any 2035 exception.

My requirement is
1> Client should not be able to connect to the QM until it runs under a permissionoed functional ID.
2> Client should not be able to connect to the queue until it runs under a permissionoed functional ID.

Am I missing something here? Please help with your inputs.

Thanks


You need to authorise the user your jms app is running under to connect, and inq for queue manager and get/put/brose/inq for queue(s).
Back to top
View user's profile Send private message
jarun111
PostPosted: Thu Oct 01, 2009 2:30 pm    Post subject: Reply with quote

Acolyte

Joined: 19 Apr 2004
Posts: 70

Issue here is I did not authorized it but I am still able to connect. As mentioned earlier there is no user specified in mcauser.
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Thu Oct 01, 2009 3:07 pm    Post subject: Reply with quote

Grand High Poobah

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

jarun111 wrote:
Issue here is I did not authorized it but I am still able to connect. As mentioned earlier there is no user specified in mcauser.

Known problem for java/JMS connections. (search the forum)
To secure you need to set an mcauser and best add SSL on top of the mcauser.
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
shashivarungupta
PostPosted: Thu Oct 01, 2009 3:42 pm    Post subject: Reply with quote

Grand Master

Joined: 24 Feb 2009
Posts: 1343
Location: Floating in space on a round rock.

Yes..its a known problem for the java based applications...
For java based apps. mqm is the user id being referred when you are not explicitly specifying any.
To secure the MQ objects from being accessed by any of the applications then you got to set OAM for that application ID (perhaps that application ID is already defined on the MQ server where Security Handshake would be done).

Go through the MQ Security Manual by IBM and curb the application(s) to access the MQ objects without your knowledge.

SSL enabled channels can also deny the applications to access the MQ QMgrs if they are not having valid certs.

_________________
*Life will beat you down, you need to decide to fight back or leave it.
Back to top
View user's profile Send private message Send e-mail
jeevan
PostPosted: Thu Oct 01, 2009 4:02 pm    Post subject: Re: MQ security related queries Reply with quote

Grand Master

Joined: 12 Nov 2005
Posts: 1432

jarun111 wrote:
Hi,
I have some queries regarding authorization/acccess set-up for MQ.

Below are my setting
Have a QM running on hostA
Have a client running on hostB

QM has a SVRCONN channel with no MCAUSER specified and I am trying to connect to a queue "QUEUE1" with no authorization specified (other than for "mqm" funcitnal ID)
JMS Client on hostA runs under it's functioal ID "mwm" and does not have any user ID/Passwd set while creating connection.

When I try sending message to the queue "QUEUE1", everything goes fine without any 2035 exception.

My requirement is
1> Client should not be able to connect to the QM until it runs under a permissionoed functional ID.
2> Client should not be able to connect to the queue until it runs under a permissionoed functional ID.

Am I missing something here? Please help with your inputs.

Thanks


Sorry. I misread your post.

I had the same situation.

http://www.mqseries.net/phpBB2/viewtopic.php?t=50429&sid=b54ed2e8686a40e5bed7434071a370ce

http://www.ibm.com/developerworks/websphere/techjournal/0711_col_wyatt/0711_col_wyatt.html
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 » MQ security related queries
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.