Mail Archives: djgpp/1997/10/11/19:49:31
At 04:47 10/11/1997 GMT, Gautam N. Lad wrote:
>Hi,
>This may be one of the dumbest question, but is there any way to password
>protect Allegro's DATAFILE (.DAT) so that if a user of my program has
>DJGPP and Allegro fully installed, tries to open up my program's .DAT file, it
>would ask for a password (which is stored in the .DAT file).
>I mean, they can hack the Grabber program to by-pass the password (if
>possible), but is something like this possible, hopefully in the future (or
is it
>already available in v3.x)?
I'm fairly sure there's nothing of the sort built in. You could do some kind
of encryption to your .dat file, and then decrypt it as you read it in. Also
I think Shawn is working on a way to attach .dat files to the EXE, which
might help somewhat.
Nate Eldredge
eldredge AT ap DOT net
- Raw text -