how to make a password app for win startup

This is a discussion on how to make a password app for win startup within the Windows Programming forums, part of the Platform Specific Boards category; Hi, I am trying to make a program where you'll have to enter a password for going further, when loading ...

  1. #1
    Unregistered
    Guest

    how to make a password app for win startup

    Hi,

    I am trying to make a program where you'll have to enter a password for going further, when loading windows.

    How would I have to do that?

    I know how to make it ask for a password and check it, however I dont know how to stop everything so only the program is being "online".

    Please help me,

    Thanks,

    Alain

  2. #2
    Registered User (TNT)'s Avatar
    Join Date
    Aug 2001
    Location
    UK
    Posts
    339
    Hey,

    I think you need to be a little more specific, but if the part you need to know is getting ur program to open at the right part then you need to load it as the windows shell, then if the password is correct then continue loading the shell(explorer.exe). You can set ur program as the shell in a ini file i think, i think its system.ini but it may well have changed in winxp.

    On another note you should store the password using a strong algo phraphs in a file or maybe in the registry up to you. Get your prog to decrypt the password and store it in a string, then get the users password and compare it to the encrypted password, if correct then load the shell.

    Hope that helps

    TNT
    TNT
    You Can Stop Me, But You Cant Stop Us All

  3. #3
    Programming is fun, mkay?
    Join Date
    Oct 2001
    Posts
    490

    Another thing...

    If you want your program to run on StartUp, just put it in the registry. Learn it with C++. On Win98 it is:

    HKEY_LOCAL_MACHINE -> Software -> Microsoft -> Windows -> CurrentVersion -> Run

    I think that's right.

  4. #4
    Caffienated jinx's Avatar
    Join Date
    Oct 2001
    Posts
    235
    Syntax, If it runs on "startup" then it should do the exact same thing as placing it in the startup folder. Thus, the windows shell should have already completely loaded, allowing outside access. A proper way around this would be to disable all sys hot keys such as ctrl+alt+del, alt+f4, alt+tab, ctrl+esc, etc. Also use a function to get the x & y values of the screen to set as a complete take up of the entire screen.

  5. #5
    Unregistered
    Guest
    ok, I get it:
    Make it fullscreen (I know how to do that) and set it in the register or startup folder.

    However, how do I do this:
    "proper way around this would be to disable all sys hot keys such as ctrl+alt+del, alt+f4, alt+tab, ctrl+esc, etc."

    (In WinXP!)

    I tried the screensaver thingey but it didnt work for me.

    Any suggestions are welcome.

  6. #6
    Caffienated jinx's Avatar
    Join Date
    Oct 2001
    Posts
    235
    R U using an MFC wrapper or API. If your using a wrapper then you could easily create an accelerator table in a dialog app, or edit the one that comes with and MDI or SDI (multiple/single document interface). If its api, get SyntaxBubble to help, I'm not real clear on the trapping of the keys in API. What next?
    Weeel, itss aboot tieme wee goo back too Canada, eeehy boyss.

  7. #7
    the hat of redundancy hat nvoigt's Avatar
    Join Date
    Aug 2001
    Location
    Hannover, Germany
    Posts
    3,139
    I don't think you will ever be able to trap CTRL-ALT-DEL in a Windows program. If you need it really secure, you have to do it the hard ( shell ) way mentioned above or simply get a windows version that supports multiple users ( 2K/XP ).
    hth
    -nv

    She was so Blonde, she spent 20 minutes looking at the orange juice can because it said "Concentrate."

    When in doubt, read the FAQ.
    Then ask a smart question.

  8. #8
    Caffienated jinx's Avatar
    Join Date
    Oct 2001
    Posts
    235
    I am quite sure that an accelerator table may contain the ctrl+alt+del sequence an execute without errors. I will try it when I get home tonight and let you know

  9. #9
    Registered User moonwalker's Avatar
    Join Date
    Jul 2002
    Posts
    282

    :)

    Put a CMOS password

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. "Cannot make pipe"
    By crepincdotcom in forum C Programming
    Replies: 5
    Last Post: 08-16-2004, 12:43 PM
  2. pasword app
    By GanglyLamb in forum C Programming
    Replies: 2
    Last Post: 06-07-2003, 10:28 AM
  3. How do I make my Linux app standalone?
    By Joda in forum C++ Programming
    Replies: 2
    Last Post: 11-27-2002, 03:53 AM
  4. Password generator
    By MrJake in forum C++ Programming
    Replies: 9
    Last Post: 02-24-2002, 10:44 PM
  5. Password recovery program..
    By ExDigit in forum Windows Programming
    Replies: 1
    Last Post: 01-12-2002, 08:45 AM

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