Craig Hennessey wrote:
> I am constructing a security program for my computer. It was the result of,
> not a hawk eyed mother wanting to see what is on my puter, but insomnia!
> basically, what it does s ask for a password.
> writeln('Enter Password:');
> readln(password);
> the problem lies in this code...
> what i want is that when the password is entered, i want the text to be
> starred, *** you get my drift... like any other password box.
> How can i echo back an asterix, and not the charachter. i understand that
> you will have to turn the echo off first, and then tell it to writeln * for
> every charachter????????
> another problem...
> (for the same program)
> how do i disable the ^crt?????
> just to complete my security program, do you think it would be wise to have
> my autoexec.bat renamed to autoexec2.bat, and moved to a floppy disk, and
> then a new autoexec.bat file created in the C: area, linking only the other
> autoexec2.bat file in?
> e.g.
> autoecxec.bat(stored in c:);
> a:\autoexec2.bat
> autoexec2.bat(stored in a:)
> all my code originally in my autoexec file.
> i understand that anybody will just be able to bypass the file, but they
> wouldnt be able to change much if i dont keep my autoexec2.bat file on my
> hard drive. if i have the floppy, no harm can be done? could this mean that
> hackers wouldnt be able to access it if i took it out after booting.
> I know this would make the boot a lot slower, but for security reasons it
> would be a good idea?
> i know this isnt a pascal question( well at least the end bit!) but please
> help!
> hehe, im gonna go test it on my other comp, ill let you know how i get
> along!.