Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.clipper.visual-objects > #10693

Re: Encrypting data in DBF file

From "Wolfgang Riedmann" <wriedmann@gmail.com>
Newsgroups comp.lang.clipper.visual-objects
Subject Re: Encrypting data in DBF file
Date 2017-06-19 14:01 +0200
Message-ID <eqpspmFf00bU1@mid.individual.net> (permalink)
References <691ec839-e8ee-4a71-a067-a8c4e1ca70b3@googlegroups.com> <b0763f9d-1b58-48e3-923e-49821b5afff1@googlegroups.com>

Show all headers | View raw


Hi Simon,

then try to use NoIVarGet()/NoIVarPut() methods of the server.

Maybe the StdDataWindow works in a different manner and tries to use
the access/assign variables of the server class.


Wolfgang

simon@abersoftware.co.uk wrote:

> On Monday, June 19, 2017 at 9:52:44 AM UTC+1,
> si...@abersoftware.co.uk wrote:
> > Hi All,
> > 
> > Anyone have any thoughts on best way to encrypt data fields that
> > are stored in DBF file.
> > 
> > The reason is just to stop people looking at the DBF file from
> > outside the application.
> > 
> > My initial thoughts were to subclass DbServer and overwrite the
> > fieldget / fieldput methods to encrypt / decrypt the data. I've
> > created an EncDbServer Class (copy of DbServer from SDK) and
> > updated the Fieldget / Fieldput methods.
> > 
> > I have a StdDataWindow that I open and pass in the EncDbServer
> > object. This doesn't seem to use the fieldget / fieldput methods
> > from the EncDbServer.
> > 
> > Is this the best approach or should I just use my own gather /
> > scatter methods for this data window?
> > 
> > Appreciate any ideas or thoughts on best way to achieve this.
> > 
> > Simon
> 
> Hi Wolfgang,
> Thanks for the reply.
> 
> I did try that at first and had the same results - the data window
> methods dont use the fieldget from the dbserver. (I was trying to cut
> out some of the inheritance to see if I could find out what actual
> method was bring called.)
> 
> I use the bBrowser on the same window and that control behaves
> properly!
> 
> I guess its using a datawindow:fieldget() but have tried catching it
> there but no luck.
> 
> Simon



-- 

Back to comp.lang.clipper.visual-objects | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Encrypting data in DBF file simon@abersoftware.co.uk - 2017-06-19 01:52 -0700
  Re: Encrypting data in DBF file "Wolfgang Riedmann" <wriedmann@gmail.com> - 2017-06-19 11:34 +0200
  Re: Encrypting data in DBF file simon@abersoftware.co.uk - 2017-06-19 03:25 -0700
    Re: Encrypting data in DBF file "Wolfgang Riedmann" <wriedmann@gmail.com> - 2017-06-19 14:01 +0200
      Re: Encrypting data in DBF file simon@abersoftware.co.uk - 2017-06-19 05:38 -0700
  Re: Encrypting data in DBF file JohnMartens <martens@tennishulp.info> - 2017-06-19 14:02 +0200
    Re: Encrypting data in DBF file simon@abersoftware.co.uk - 2017-06-19 05:47 -0700
  Re: Encrypting data in DBF file dlzc <dlzc1@cox.net> - 2017-06-19 07:32 -0700
    Re: Encrypting data in DBF file simon@abersoftware.co.uk - 2017-06-19 09:15 -0700
      Re: Encrypting data in DBF file "Urs Eggmann" <Urs.Eggmann@shinternet.ch> - 2017-06-19 22:46 +0200
  Re: Encrypting data in DBF file "Dirk (Belgium)" <dirk.dot.herijgers@pbprojects.dot.be> - 2017-06-20 08:24 +0000
  Re: Encrypting data in DBF file Martin <Martin@spam.spam> - 2017-06-26 09:27 +0100
  Re: Encrypting data in DBF file simon@abersoftware.co.uk - 2017-07-17 13:30 -0700

csiph-web