enter creation password when lookup with qualifiers?

Bruce Easton bruce at stn.com
Wed Jan 30 07:50:37 PST 2008


(inline responses)
Brian K. White wrote Tuesday, January 29, 2008 7:09 PM:
>  
> > So because of this limitation, currently I have no way to 
> > password protect my utility programs for distribution 
> > without an end-user being prompted for a creation password.
> 
> Did you get what I meant by writing out a process table?
>

Yes - interesting idea, but to me not practical and I think 
there may be more of a hurdle here.

> Table A originally wants to lookup a variable file and do some work.
> Can the work possibly be collected into a call table and run there?
> 
> If so:
> * modify table A so that all the dynamic lookup work is done in 
> one or more call tables.
> * write a new table B which has a lookup using any file you want 
> or a variable, just so it passes syntax check.
> * at runtime table A determines it wants file foo.
> * use a little readline/writeline or import/export loop to read 
> table B and generate a new unique temporary table C. This loop 
> can be a nice black box call table itself.
> It's small enough to be fine even as a gosub.
> * table C contains a litteral lookup to foo in place of whatever 
> table B had
> * call C
>

Regarding practicality and efficiency this would not 
cut it for, say, being utilized in the middle of a 
record update live transaction.
  
> 
> Result:
> o table B can be developed/maintained in cabe naturally
>   (no stack of zz="label:if...:then...:" in table A)
> o foo can be unknown before runtime
> o foo can have a creation password
> o user will not get prompted for creation password
> 
> Since this is possible, I would say it makes the fp built in 
> feature moot and so might as well be removed. It's not actually 
> protecting anything. Is it? Am I missing something?

Well, I think it would take more experience than what is 
needed to write what Ken wrote in his salary example.

> 
> Ouch, snag... at run-time the user must either be running dclerk 
> to call the temp table, or have rcabe available to tokenize the 
> temp table before calling it.
>

Yes - and when trying to use rcabe to tokenize the called table, 
one should get prompted then for the creation passwords.
 
[..]

> Brian K. White    brian at aljex.com   




More information about the Filepro-list mailing list