Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!crdgw1!uunet!ogicse!emory!athena.cs.uga.edu!greg From: greg@athena.cs.uga.edu (Greg Whitlock) Newsgroups: comp.lang.pascal Subject: Re: Password Program! Message-ID: <1991May29.191859.20733@athena.cs.uga.edu> Date: 29 May 91 19:18:59 GMT References: <2753@pdxgate.UUCP> Organization: University of Georgia, Athens Lines: 27 In article <2753@pdxgate.UUCP> caster@jove.UUCP (Brad J. Caster) writes: >In article mcdonghj@unix1.tcd.ie (Lizard King....) writes: >>I wrote a small routine to run a pascal program to check for a >>password when you log in to a PC, but one can break out by Ctrl >>C! >>Is there any way of stopping this?? >... >A simple solution would be to write an interrupt handler to >check if Ctrl is being pressed. If it is not, just pass the >input to the regular interrupt handler. So, you can't use >Ctrl while entering your password. That shouldn't be a >problem. > Do you mean when Ctrl-c is being pressed before or after the program runs? If your program is started with a batch file then if anyone starts banging on Ctrl-c when they boot up then they can break the batch file, anyway. ___________________________________________________________________________ Greg Whitlock | Department of Computer Science | "Chivalry is not dead... ACM chairman of UGA | it just got left holding the door." University of Georgia, Athens | E-mail: greg@athena.cs.uga.edu | -Greg (me) _______________________________________|___________________________________