password verification on startup

This is a discussion on password verification on startup within the C++ Programming forums, part of the General Programming Boards category; hello freinds, how cani put a password verification porgram at the startup of windows 98se OS using VC++; also please ...

  1. #1
    Registered User
    Join Date
    Oct 2002
    Posts
    17

    password verification on startup

    hello freinds,
    how cani put a password verification porgram at the startup of windows 98se OS using VC++;
    also please tell me how to disable mouse and keyboard programitically.

    ---------------------------------------------------------------------------------------------------
    bcome a member of codeffects software development team and earn money and experience

  2. #2
    train spotter
    Join Date
    Aug 2001
    Location
    near a computer
    Posts
    3,859
    >>bcome a member of codeffects software development team and earn money and experience

    How much money and experience will I get for writing it?
    "Man alone suffers so excruciatingly in the world that he was compelled to invent laughter."
    Friedrich Nietzsche

    "I spent a lot of my money on booze, birds and fast cars......the rest I squandered."
    George Best

    "If you are going through hell....keep going."
    Winston Churchill

  3. #3
    Registered User
    Join Date
    Nov 2002
    Posts
    126
    You could make a simple password program and add the program to your AUTOEXEC.BAT in your C drive. The problem with that is that all you have to do is hit ctrl+break and the program will end and the OS will continue to boot. Probably the best way to protect your system with a password is to set a BIOS password.

  4. #4
    jasondoucette.com JasonD's Avatar
    Join Date
    Mar 2003
    Posts
    278
    I did this a long time ago. The program was basically to mark a time stamp of when the computer was being used, and to keep certain people (non-hackers) from messing on my computer. The time stamp was to record any attempts that were made. It was more of a programming test than anything. I made the program not respond to ctrl+c or ctrl+alt+del, but regardless... it's pretty simple to avoid autoexec.bat from being run on start up. The BIOS password is the way to go, but even that doesn't stop everyone.

  5. #5
    Kiss the monkey. CodeMonkey's Avatar
    Join Date
    Sep 2001
    Posts
    920
    Explain this BIOS password thing or tell me to do a search on Google.
    "If you tell the truth, you don't have to remember anything"
    -Mark Twain

  6. #6
    _ Munkey01's Avatar
    Join Date
    Dec 2002
    Posts
    280
    Enter BIOS at start-up and look through it to see if it supports passwords.

    But creating the program for user verifacation qouldn't be hard but the only problem is that you would need to find a way to halt Windows while your program requested verifacation.

  7. #7
    Kiss the monkey. CodeMonkey's Avatar
    Join Date
    Sep 2001
    Posts
    920
    Isn't there a way to set your program to priority?
    "If you tell the truth, you don't have to remember anything"
    -Mark Twain

  8. #8
    Registered User sikamikaniko's Avatar
    Join Date
    Mar 2003
    Posts
    28
    The autoexec.bat isn't good idea. There are many methods to skip the lines in it. The bios is good, but I think codefx wanted some program to put it at the start of windows - before everything. Like a log in dialog box.

  9. #9
    Registered User
    Join Date
    Oct 2002
    Posts
    17

    Lightbulb man man man

    i agree with Munkey01 but the question is how to halt windows??
    ???
    i think if we can disable mouse and keyboard when our window loses
    focus.
    -----------------------------------------------------------------------------
    Hocus Focus
    codeffects software solutions

  10. #10
    Registered User
    Join Date
    Feb 2003
    Posts
    28
    Greetings,

    There is no full-proof method of protecting the access to your PC, if one has phisicall access to it, one can do anything.
    BIOS is no good, anyone can break that.
    One way of making it hard would be to mess with the boot sector, replace the existing one with your own that loads a password verification program, and if all is well it then continues to load the OS. This is no easy task, but you could search the web for some bootloaders that support password verification thing.
    The problem is that since it is win98 it'll be using FAT/FAT32 and anyone with a bootdisk, or by removing the HD from your PC can access the data.
    The solution for that would a bootloader that does the password verification and decrypts the FAT/FAT32, and a driver for win98 that would redo the encryption on shutdown (don't even know if this is possible with this OS, but assuming it is).
    And even this is breakable...

  11. #11
    train spotter
    Join Date
    Aug 2001
    Location
    near a computer
    Posts
    3,859
    What about a global hook that scrambles keyboard input until the correct password is entered?
    "Man alone suffers so excruciatingly in the world that he was compelled to invent laughter."
    Friedrich Nietzsche

    "I spent a lot of my money on booze, birds and fast cars......the rest I squandered."
    George Best

    "If you are going through hell....keep going."
    Winston Churchill

  12. #12
    Student Forever! bookworm's Avatar
    Join Date
    Apr 2003
    Posts
    132
    I dont know know about VC++ but in VB++,u can place a char type as * and use the text box as a password verification box.

  13. #13
    Registered User
    Join Date
    Oct 2002
    Posts
    17
    how can i know when a dialog is losing focus?????
    codeffects software solutions

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. [Q]Hide Password
    By Yuri in forum C++ Programming
    Replies: 14
    Last Post: 03-02-2006, 03:42 AM
  2. Password verification
    By WannaB_Geek in forum C++ Programming
    Replies: 1
    Last Post: 08-24-2004, 01:58 PM
  3. Password dialog at startup
    By moonwalker in forum Tech Board
    Replies: 5
    Last Post: 08-03-2003, 07:49 PM
  4. how to make a password app for win startup
    By Unregistered in forum Windows Programming
    Replies: 8
    Last Post: 08-20-2002, 12:48 PM
  5. charater testing for password verification
    By Unregistered in forum C++ Programming
    Replies: 1
    Last Post: 03-20-2002, 07:48 PM

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