Joined: 10 Feb 2003 Posts: 6076 Location: Somewhere over the Rainbow this side of Never-never land.
pintrader wrote:
So i can conclude that MQ by default allows anyone to connect and put message even though there is no such user account defined. The next crucial step we should do is to use SET AUTHREC/CHLAUTH or setmqaut to give permissions. Is my understanding correct? thanks
May I humbly suggest to peruse the Security Forum here and see the sort of problems that are encountered by users.
The posts by Morag Hughson are very well work reading especially incorporating her 'backshop' rule.
In a production (and even other) environment we create the queue managers using methods that ensure repeateability, measurability, auditability and usability. This usually means scripted creation. It also includes setting up Security for the QMGR. This is all part of the job description.
IMHO, no one in their right mind leaves production level queue managers wide open for everyone to use. Yes you can make this happen, just like you can setup Windows to NOT need a login password but do you really want to?
Context is everything. _________________ WMQ User since 1999
MQSI/WBI/WMB/'Thingy' User since 2002
Linux user since 1995
Every time you reinvent the wheel the more square it gets (anon). If in doubt think and investigate before you ask silly questions.
Joined: 09 Feb 2006 Posts: 1244 Location: Gold Coast of Florida, USA
You have clearly not done your "due diligence" in reading these posts or the Knowledge Center on this topic.
IBM MQ will only use local IDs for authorization and relies on the OS for authentication of the ID. All inbound channels run under the listener which start an MCA that runs as a local user ID (whatever started the listener). The MCA will either MQPUT msgs as it's ID or with alternate ID authority determined by the MCAUSER or something else like an exit or CHLAUTH rule. You can easily read in the Knowledge Center what ID the MCA is going to use for authorization (the OS has already authenticated the ID running the MCA).
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