|
Michael, I just took a quick look at the V5R1 CL Reference for the GRTOBJAUT and RVKOBJAUT commands. They clearly list *ADD, *DLT, *UPD, and *READ as allowable authorities to grant or revoke. If you were to revoke authority to *PUBLIC (or a specific user) for these attributes, would that not accomplish your goal? As to your goal, what is it? Be careful of assuming that an individual object's security could prevent access by an intelligent user with *ALLOBJ authority. Regards, Andy Nolen-Parkhouse > Of Hardman, Michael > Sent: Tuesday, June 25, 2002 3:36 PM > To: 'mi400@midrange.com' > Subject: [MI400] File Attributes > > When one displays an AS/400 physical file description, one can see that > there are four (4) "Allow..." attributes associated with the file. These > attributes are, in order of display, Read, Write, Update and Delete. It > appears that one may only set the Update and Delete attributes (to *YES or > *NO) at file creation time. It does not appear that one may set the Read > or > Write attributes at any time. These attributes (Read & Write) are always > *YES. > > Does anyone know a method, via MI (or any other language), to locate and > set > these attributes? If such a method exists, would setting all of the > attributes to *NO imply that the data contained in the file is > inaccessible > regardless of any special authority contained in a user profile? Would > you > share the method? > > Thanks for your assistance. > > Rgds, > Mike
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 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.