× 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: Record set security
  • From: "M. Lazarus" <mlazarus@xxxxxxxx>
  • Date: Sun, 02 Apr 2000 01:18:52 -0500

John,

At 07:26 AM 3/31/00 -0800, you wrote:
> > At 09:09 PM 3/28/00 -0800, you wrote:
> >
> > > (Example: With AOA, how do you provide ability to view
> > > transactions with a VB application,
> > > but restrict the ability to download the entire file with
> > > FTP?)
> > >
> >  One way to handle this is w/ logical files.  Another way (in
> > the later versions of OS/400) is column level security.
>
>Thanks for the only reply on this inquiry.
>
>But a logical file will still allow you to view all records
>(transactions) in the view.  Unless you want to create (and
>secure) a separate logical file for every record in the PF (how
>ugly!!), logicals won't help.
>
>Also, column level authority does not work for reads....  only
>updates.   And still, it seems like what people are really looking
>for is row level security, or a combination of row/column level
>security.  I still don't see how OS/400 object level security
>helps here.

  One thing I have done in the past is to have an OPNQRYF run against 
several files in the user's initial pgm.  The files remained open the 
entire day, so there was only an initial hit.  Of course, w/ ODBC, it's 
different animal.  Maybe you can force the user to use a called procedure 
(i.e. one which uses SQL w/ parameter markers, or a plain old CLP w/ 
OPNQRYF), which would control access to the file.  It's a difficult problem.

  Let me know what other ideas you come up with.

  -mark
+---
| This is the Midrange System Mailing List!
| To submit a new message, send your mail to MIDRANGE-L@midrange.com.
| To subscribe to this list send email to MIDRANGE-L-SUB@midrange.com.
| To unsubscribe from this list send email to MIDRANGE-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 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.