Subject Re: encryption
From Ken Mayer <>
Date Thu, 1 Feb 2024 11:43:43 -0800
Newsgroups dbase.getting-started

On 2/1/2024 7:37 AM, Mervyn Bick wrote:
> On 2024/02/01 17:00, Charlie wrote:
>> Hi...   Any thoughts on encrypting files after the user has set a
>> password?  I am familiar with the password mask but not sure how to
>> encrypt a file securely.  Thanks for any suggestions.
> The password mask allows a user to type in a password without anyone
> being able to read it off the screen.  It is usually used in conjunction
> with giving access to the actual program and would use user names and
> passwords kept in a table.
> Encrypting files is a whole new ballgame.
> You have Ken's books so read up on the PROTECT command.
> Remember, once you have set a password THERE IS NO WAY TO GET IT BACK if
> you forget it.  Write it down immediately and lock it away where you
> will always be able to find it.  If you forget the password your data IS
> If you have sensitive data you want to keep from prying eyes you would
> probably do better to move it to a SQL server where you wold have much
> better security than dBASE can offer.

Mervyn has pretty much enumerated every reason not to use PROTECT. There
are better ways to handle it ...


*Ken Mayer*
Ken's dBASE Page:
The dUFLP:
dBASE Books:
dBASE Tutorial:
dBASE Web Tutorial:
dBASE DOS to Windows Tutorial: