× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.


  • Subject: RE: Programing Question/Authority...
  • From: "alan shore" <SHOREA@xxxxxxxx>
  • Date: Fri, 27 Jul 2001 17:00:45 -0400

I must admit that this thread has definitely got me to thinking twice (or even 
more times than that) with our present security procedure.

In revisiting this particular e-mail, a couple of questions have come to mind.
Q1 - "- maintaining object authorities requires special care when database
changes are done.". Can you please expand on this statement. We have done a few 
database changes, with object authorities in place, and have had no problems. 
However, the question that comes to mind is, for any future changes, could we 
be missing something?

Q2. Before it was decided to apply object authority as the procedure to use, 
one of the options considered was using adopting authority, with the 
application being the deciding factor. You mention "user groups defined in our 
"menu system",", How are these groups linked to a User Profile, is it through 
the operating system,. or strictly as part of the application. If it is part of 
the application, how is deleting a User Profile handled so that the particular 
profile name is also deleted from the application derived user groups?


>>> "Njal Fisketjon" <n.f@figu.no> 07/27/01 03:12PM >>>


> -----Original Message-----
> From: owner-rpg400-l@midrange.com [mailto:owner-rpg400-l@midrange.com]On 
> Behalf Of alan shore
> Sent: 27. juli 2001 18:18
> To: RPG400-L@midrange.com 
> Subject: RE: Programing Question/Authority...
> 
> 
> PLEASE NOTE : No sarcasm is intended, however, I know that 
> sarcasm WILL be projected from my response to this.
> 
> Lets take this from the sublime to the WAY ridiculous.
> 
> Somebody requires access to High level Top secret documents, but 
> to obtain this data "they then have to jump through all sorts of hoops."
> 
> So lets make it easier to obtain this data. Oh, did'nt they do 
> that at some military installation in California just recently.
> Sarcasm switch now turned off.
> 
> Implementing a security procedure is NOT easy, and it is (or 
> should be) ALWAYS  revised. If it is hard for a person to be able 
> to obtain data, then surely the security is working. 
> Letting an application handle the security (even if users only 
> see the options they need to see) is NOT (this is strictly my 
> opinion) the procedure to use. If fred Bloggs should never have 
> access to the payroll master file, then the security should be in 
> place that he is NOT allowed access, even through the 
> application, thet he may or may not have. If he should have 
> access to the payroll master file, give him direct access. If 
> not, he falls into the category of PUBLIC *EXCLUDE.  
> 

The reasons we don't use object authority are:
- direct object authority lets the user access the data with whatever
tool he/she has available. With lots of applications created long before 
PF constraints and triggers were are part of the OS/400 database we think
it's very dangerous to specify direct user authority to files. 
We don't want the user to use ODBC, Client Access, etc to update AS/400
files at "free will".

- maintaining object authorities requires special care when database
changes are done.

By combining USRPRF(*OWNER) and application controlled authority per
program both at user and user group level (user groups defined in our
"menu system", because multiple groups per user was not available in
OS/400 at the time we created it), lets the application (system) owner
grant & revoke authorities. This has eased the workload of the DP staff.

If the system owner grants your "Fred Bloggs" update access to our Customer
Update program, he may do all what the program allows him do to.
No need to know which files (or views) you need access to (and which sort of
access).





+---
| This is the RPG/400 Mailing List!
| To submit a new message, send your mail to RPG400-L@midrange.com.
| To subscribe to this list send email to RPG400-L-SUB@midrange.com.
| To unsubscribe from this list send email to RPG400-L-UNSUB@midrange.com.
| Questions should be directed to the list owner/operator: david@midrange.com 
+---

+---
| This is the RPG/400 Mailing List!
| To submit a new message, send your mail to RPG400-L@midrange.com.
| To subscribe to this list send email to RPG400-L-SUB@midrange.com.
| To unsubscribe from this list send email to RPG400-L-UNSUB@midrange.com.
| Questions should be directed to the list owner/operator: david@midrange.com
+---

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

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.