|
Nice explanation, Joe. You oughta write a book......:-) > -----Original Message----- > From: Joe Pluta [SMTP:joepluta@xxxxxxxxxxxxxxxxx] > Sent: Tuesday, April 01, 2003 8:10 PM > To: Midrange Systems Technical Discussion > Subject: RE: Authority to libraries > > You're stuck in a Catch-22, Jose. > > Let's look at an example. Let's say you have a library, SECRETLIB, and a > program in it, SECRETPGM. You create a user, SECRETUSER, that has all > authority to the library. Another user, REGULARJOE, has no authority to > that library. > > Now you want to create a program that adopts authority and calls > SECRETPGM. > You call it ADOPTER, make it USRPRF(*OWNER), and make the owner > SECRETUSER. > Great! Except for one little detail - where did you put the program? If > you put it in SECRETLIB, REGULARJOE still won't be able to call it, > because > he has no authority to SECRETLIB! > > So, you have to have a different library, say one named ADOPTLIB, where > you > put programs that adopt authority. Then you grant authority to ADOPTER > (and > ADOPTLIB) to REGULARJOE. This way, REGULARJOE still has no authority to > SECRETLIB, but he can now call SECRETPGM, by calling ADOPTER in ADOPTLIB. > > Hope this helps! > > Joe > > ************************************************************************************************************************************************************************************************************ This message originates from Lincare Holdings Inc. It contains information which may be confidential or privileged and is intended only for the individual or entity named above. It is prohibited for anyone else to disclose, copy, distribute or use the contents of this message. All personal messages express views solely of the sender, which are not to be attributed to Lincare Holdings Inc., and may not be copied or distributed without this disclaimer. If you received this message in error, please notify us immediately at MailAdmin@xxxxxxxxxxx or (800) 284-2006. ************************************************************************************************************************************************************************************************************
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2025 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.