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 » IBM MQ Java / JMS » MQ scecurity om Z/os and Windows

Post new topic  Reply to topic
 MQ scecurity om Z/os and Windows « View previous topic :: View next topic » 
Author Message
TBS
PostPosted: Fri Sep 26, 2008 6:02 am    Post subject: MQ scecurity om Z/os and Windows Reply with quote

Centurion

Joined: 29 Jan 2007
Posts: 143
Location: Hillerød / Denmark

Hi !

Correct Me If I'm Wrong..

If I use SYSTEM.DEFAULT.MODEL QUEUE in a open queue and have specified TEST.* as a queue name, then the user who do the open have to have premision to queue mqmanager.TEST.* ( in racf) on Z/OS , but do not need to have permission to TEST. on windows ..

How do you then prevent the users to specify SYSTEM* as a queue name prefix ?
Back to top
View user's profile Send private message
Mr Butcher
PostPosted: Fri Sep 26, 2008 7:08 am    Post subject: Reply with quote

Padawan

Joined: 23 May 2005
Posts: 1716

Check the z/OS system adninistration guide "Chapter 13. Profiles used to control access to WebSphere MQ resources" there is a section "Considerations for model queues"... it reads the user must have access to the model queue itself and the queuename it resolves to.

so in your case - it depends on which profiles you defined in RACF. if you define UPDATE for SYSTEM.DEFAULT.MODEL.QUEUE and there is no SYSTEM.* profile or no proper access to that profile, no resolving SYSTEM.* name should be allowed.

maybe it is a better idea to disallow the access to the SYSTEM.DEFAULT.MODEL.QUEUE and create a "TEST.DEFAULT.MODEL.QUEUE" with proper security to be used for all "TEST.*" - Queues.
_________________
Regards, Butcher
Back to top
View user's profile Send private message
TBS
PostPosted: Fri Sep 26, 2008 7:47 am    Post subject: Reply with quote

Centurion

Joined: 29 Jan 2007
Posts: 143
Location: Hillerød / Denmark

Correct ! But my point is that this is not correct on Windows.

On window you do not need to specify permission for TEST.*
Back to top
View user's profile Send private message
RogerLacroix
PostPosted: Sat Sep 27, 2008 8:26 am    Post subject: Reply with quote

Jedi Knight

Joined: 15 May 2001
Posts: 3264
Location: London, ON Canada

TBS wrote:
Correct ! But my point is that this is not correct on Windows.

On window you do not need to specify permission for TEST.*

Yes you do.

How is the application connecting to the Windows QMgr? Is it connecting with a blank UserId or is MUSR_MQADMIN set in the MCAUSER field of the channel?

Remember, a default install of MQ has weak security on all platforms (including z/OS).

Regards,
Roger Lacroix
Capitalware Inc.
_________________
Capitalware: Transforming tomorrow into today.
Connected to MQ!
Twitter
Back to top
View user's profile Send private message Visit poster's website
TBS
PostPosted: Mon Sep 29, 2008 12:56 am    Post subject: Reply with quote

Centurion

Joined: 29 Jan 2007
Posts: 143
Location: Hillerød / Denmark

I connect to the MQ manager with MO71 support pack(MQMON).
If I specify SYSTEM.* as a Reply Prefix and then i get a temporary Dynamic queue with name SYSTEM....... and have all access to that queue.

My senarie:
Create a lokal user "MQMON" and put it in a Local group "TEST_GROUP"
Create a mqmanager
Create a QMODEL TEST.MODEL
Create a server channel TEST.CLIENT with MCA user MQMON


Setmqaut -m "mqmanager" -t qmgr -g TEST_GROUP +connect +inq +dsp
Setmqaut -m mqmanager-t queue -n TEST.MODEL -g TEST_GROUP -allmqi +put +dsp +inq
setmqaut -m %1 -t queue -n SYSTEM.ADMIN.COMMAND.QUEUE -g TEST_GROUP -allmqi +put +dsp

Change MO71/MQMON with test model and test channel and change Reply Prefix på SYSTEM.*
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 » IBM MQ Java / JMS » MQ scecurity om Z/os and Windows
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.