Re: Commands for Limited Users

Edwin Davidson <EDavidson-FhXUXP1Pus5Wk0Htik3J/[email protected]>
Newsgroups gmane.comp.systems.as400.security
Organization Prime, inc
Message-ID <[email protected]>
> The problem with straight object level security is that users are often
> allowed to access data only with in a specific context - that is - it's
> ok for Jane to access the Inventory file within the context on a well
> crafted application program that controls what she can see and change.
> But we don't want Jane to change some fields in the file (like re-order
> point, etc.).  So *CHANGE authority would not in itself be adequate to
> secure the resource.  
>   

Correct me if I am wrong, but the proper way to secure this object would 
be to have
*public with *exclude, "/Serviceprofile/" with *all (or as needed) and 
then do a
CHGPGM /pgmname/ USRPRF(*owner) to adopt the service profiles authority.
Then do a CHGOBJOWN OBJ(/pgmname/) OBJTYPE(*PGM) NEWOWN(/Serviceprofile/) 
which will make the owner of the program the service profile.

The net affect is that no users have any access to the file at all.  Not 
via FTP, ODBC, anything.
The service profile has authority to the file.  The user only can modify 
the file within the scope
of the program being called.   Of course, you have to watch out to make 
sure QCMD or
command line is not given with this adoptive authority.  This depends on 
users not having
all object, and system security level being an the proper level.

Edwin



http://www.primeinc.com
**********************************************************************
This email and any files transmitted with it are confidential
and intended solely for the use of the individual or entity to
whom they are addressed.  If you have received this email
in error please reply to the sender of the message.

The views expressed in this correspondence may not
reflect the views of Prime, Inc.

This footnote also confirms that this email message has
been scanned for the presence of computer viruses.
**********************************************************************
_______________________________________________
This is the Security Administration on the AS400 / iSeries (Security400) mailing list
To post a message email: Security400-Zwy7GipZuJhWk0Htik3J/[email protected]
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/security400
or email: Security400-request-Zwy7GipZuJhWk0Htik3J/[email protected]
Before posting, please take a moment to review the archives
at http://archive.midrange.com/security400.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.