[comp.os.msdos.programmer] Installing PASSWORD protection in config.sys

jdb@reef.cis.ufl.edu (Brian K. W. Hook) (05/04/91)

About a week ago I posted a question asking:

"How do I install a password protection program that I wrote in C in my
config.sys file so that Ctrl-Break won't work." (Ctrl-Break works in
AUTOEXEC.baT).

General replies were:

1.  On DOS 4.0x you can use the line:

	INSTALL=C:\PASS.EXE
	
    I have not tried this, since I don't have DOS 4.0x...

2.  Use the SHELL= statement.  If you do this, it remains memory resident
and you must spawn() command.com to get the real interpreter working.
Exec() will NOT work.

3.  Write an ASM device driver.  I don't know ASM well enough.

4.  Write a C device driver.  This requires knowing technical stuff about
how to write a device driver, none of which I know.

5.  Put "BREAK=OFF" in config.sys and stick the password program in 
AUTOEXEC.BAT...haven't tried yet.

6.  Buy "BOOTCON.SYS".  I did just that and it works beautifully :-).
Multiple autoexecs and config.sys files, etc.

Brian