Ideas in creating a password system

This is a discussion on Ideas in creating a password system within the C++ Programming forums, part of the General Programming Boards category; Does anyone have any ideas how you could create a password system that locks the computer if a password is ...

  1. #1
    Registered User subdene's Avatar
    Join Date
    Jan 2002
    Posts
    359

    Ideas in creating a password system

    Does anyone have any ideas how you could create a password system that locks the computer if a password is typed incorrectly etc. It would be good if the program could load before the OS.

    What type of header files would be needed, etc. Thanks

  2. #2
    Registered User Dual-Catfish's Avatar
    Join Date
    Sep 2001
    Posts
    802
    My guess is you'd need some Assembly to do this, although I may be wrong. A simple batch file run on startup could also do this..

    I remember a friend doing something similar, the screen would just go blank until you entered the password. This is especially useful as people who boot up your computer wouldn't even know what was going on. '0' would clear the password buffer, and the computer would restart if the wrong password was entered.

    Also, you must disable booting from floppy in your BIOS, and put a password on it to prevent someone from changing this.

    Of course, theres no foolproof way, as someone could easliy open up your box and reset the BIOS password if they knew what jumper is was.

  3. #3
    Unregistered
    Guest
    Or, alternatively, you could try scramming the boot files on your HD and forcing a floppy load, using some kind of nonstandard partitioning that a generic boot disc is unlikely to cope with. Then keep your boot disc in your footlocker/under your mattress wherever. Of course this leaves you up the creek w/o a paddle if your boot disc gets corrupted.

    That might not hold an expert back for long, but will keep family members/coworkers from tinkering.

  4. #4
    Registered User subdene's Avatar
    Join Date
    Jan 2002
    Posts
    359
    Preety good ideas. You could have another batch file stored in your system where the name of that file could be the password, etc.

  5. #5
    Seņor Member
    Join Date
    Jan 2002
    Posts
    561
    Couldn't you also change your autoexec file to run your .exe file before windows starts and then have your program shut the computer down if they don't enter the correct pw? (The problem is I don't know how to shut down the computer like that, and also someone could get into dos mode and fix your autoexec...). So if this is for fun that's secure enough.

  6. #6
    Registered User
    Join Date
    Feb 2002
    Posts
    33

    evil!

    well, my first impression was you wanted to pw protect your program and have it screw up their comuter if they tried to guess it, and that sounds a lil too evil, do't do that. but if you simply want to pw protect your computer, get some screen saver that has a pw lock and have it run at startup, or look at www.download.com for an os lock

  7. #7
    Seņor Member
    Join Date
    Jan 2002
    Posts
    561
    Screw up the computer by locking it up? Ummm it's just annoying, all you'd have to do is reboot. If you wanted to screw it up, theres many ways that are more malicious as well as easier to do than this.

  8. #8
    I'm Back
    Join Date
    Dec 2001
    Posts
    556
    in the bios setup there is an option which allows you to prompt for password everytime the computer boots.

    plus as said before you can disable boot from other drives and also you could disable the F5 and F8 switches which let you enter in safe mode bypassing the autoexec.bat and other files.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Problem building Quake source
    By Silvercord in forum Game Programming
    Replies: 16
    Last Post: 07-11-2010, 09:13 AM
  2. Creating a menu system
    By ICool in forum C Programming
    Replies: 9
    Last Post: 09-17-2007, 12:18 PM
  3. [Q]Hide Password
    By Yuri in forum C++ Programming
    Replies: 14
    Last Post: 03-02-2006, 02:42 AM
  4. ideas on how to make this not use 99% system resources?
    By aciarlillo in forum C++ Programming
    Replies: 3
    Last Post: 07-22-2005, 06:50 PM
  5. Creating an Instant Messenging system...
    By Fool in forum C++ Programming
    Replies: 8
    Last Post: 08-13-2001, 06:41 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21