Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.clipper.visual-objects > #9712
| From | "Wolfgang Riedmann" <wriedmann@gmail.com> |
|---|---|
| Newsgroups | comp.lang.clipper.visual-objects |
| Subject | Re: Has anyone used any bulk (file, directory, disk) encryption methods successfully? |
| Date | 2016-09-05 05:07 +0200 |
| Message-ID | <e345r5F3us8U1@mid.individual.net> (permalink) |
| References | <69f01469-469a-4799-b440-265867c5fdbb@googlegroups.com> |
Hi Steve, this is easily doable with several possibilities: you can encrypt single fields and crypt/decrypt on FieldGet/FieldPut level of your DBServer (the following code is from a now 10 years old project): method FieldGet( uField ) class AppCDBServer local uValue as usual local nLen as dword local cValue as string local cBuffer as string uValue := super:FieldGet( uField ) if IsString( uValue ) if self:IsFieldToCrypt( uField ) .and. ! AllTrim( uValue ) == "" cValue := uValue if SLen( cValue ) > 2 nLen := Bin2W( Left( cValue, 2 ) ) if nLen == 0 uValue := Space( nLen ) else cBuffer := SubStr2( cValue, 3 ) cValue := JPMCrypt( cBuffer ) uValue := Left( cValue, nLen ) endif endif endif endif return uValue method FieldPut( uField, uValue ) class AppCDBServer if IsString( uValue ) .and. self:IsFieldToCrypt( uField ) uValue := AllTrim( uValue ) uValue := W2Bin( word( SLen( uValue ) ) ) + AllTrim( JPMCrypt( uValue ) ) endif return super:FieldPut( uField, uValue ) Or you can use a crypting RDD (there was a sample by someone, Robert v.d.H. I think). But beware: my method seems to have issues with the Vulcan RDDs. Wolfgang SteveMcNaughton wrote: > I'm looking for a way to encrypt the data files so that the data is > not readable by simple things like Notepad, but is readable by my VO > programming. I've mulled over using field based encryption, but then > indexing them would be an issue. > > I goofed around with a windows method, but then other network users > could not read the files. > > It's like there has to be an encryption key that is able to be shared > with others. > Anybody been to this mountain already? > > thanks. > > Steve. --
Back to comp.lang.clipper.visual-objects | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Has anyone used any bulk (file, directory, disk) encryption methods successfully? SteveMcNaughton <stevemcnaughton@auditron.com> - 2016-09-03 09:56 -0700
Re: Has anyone used any bulk (file, directory, disk) encryption methods successfully? "Jamal" <noooospam@example.com> - 2016-09-03 19:05 -0400
Re: Has anyone used any bulk (file, directory, disk) encryption methods successfully? SteveMcNaughton <stevemcnaughton@auditron.com> - 2016-09-03 19:29 -0700
Re: Has anyone used any bulk (file, directory, disk) encryption methods successfully? "Jamal" <noooospam@example.com> - 2016-09-04 02:16 -0400
Re: Has anyone used any bulk (file, directory, disk) encryptionmethods successfully? "Wolfgang Riedmann" <wriedmann@gmail.com> - 2016-09-05 05:11 +0200
Re: Has anyone used any bulk (file, directory, disk) encryption methods successfully? sherlocksoftware@gmail.com - 2016-09-03 16:33 -0700
Re: Has anyone used any bulk (file, directory, disk) encryption methods successfully? SteveMcNaughton <stevemcnaughton@auditron.com> - 2016-09-03 19:34 -0700
Re: Has anyone used any bulk (file, directory, disk) encryption methods successfully? "Jamal" <noooospam@example.com> - 2016-09-04 02:35 -0400
Re: Has anyone used any bulk (file, directory, disk) encryption methods successfully? sherlocksoftware@gmail.com - 2016-09-04 04:40 -0700
Re: Has anyone used any bulk (file, directory, disk) encryption methods successfully? "Wolfgang Riedmann" <wriedmann@gmail.com> - 2016-09-05 05:07 +0200
Re: Has anyone used any bulk (file, directory, disk) encryption methods successfully? SteveMcNaughton <stevemcnaughton@auditron.com> - 2016-09-11 07:43 -0700
Re: Has anyone used any bulk (file, directory, disk) encryptionmethods successfully? "Wolfgang Riedmann" <wriedmann@gmail.com> - 2016-09-12 07:29 +0200
Re: Has anyone used any bulk (file, directory, disk) encryption methods successfully? "Dirk (Belgium)" <dirk.dot.herijgers@pbprojects.dot.be> - 2016-09-06 07:12 +0000
csiph-web