Results 1 to 10 of 10

Thread: how to make password login for certain programs in Win Xp please..???

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Nov 2005
    Posts
    185

    how to make password login for certain programs in Win Xp please..???

    Dear Experts,

    How to create a login password to open certain programs please...

    For an example, when I would like to open programs such as Microsoft Words, Adobe Photoshop, and so on...it will show up the login password first before those program open...if the login and password is true, then I can open those programs...but if it is invalid, it will show up the message something like this "You are not allow to use this program." and then close everything..(programs, dialog box, message)...

    Anyone knows about this codes please...???

    Thanks very much for your kind helps...

    Best Regards,

    Jennifer

  2. #2
    Banned dglienna's Avatar
    Join Date
    Jun 2004
    Location
    Center of it all
    Posts
    17,901

    Re: how to make password login for certain programs in Win Xp please..???

    If they are opening them from shortcuts, then you could point the shortcut to a batch (cmd)) file that runs an exe to check for a password, and returns a flag, indicating whether the clicked shortcut should run. You could do it easier by just putting permissions in each folder, and have the OS require login, I'd think.

  3. #3

    Thread Starter
    Addicted Member
    Join Date
    Nov 2005
    Posts
    185

    Re: how to make password login for certain programs in Win Xp please..???

    Hi,

    Thanks for your helps....However, since I am newbie for vb 6...I dont understand what do you mean...is all right if I ask for a walktrough/example codes please so I can learn it from there...

    Thanks very much..

    Jennifer

  4. #4
    Fanatic Member dark_shadow's Avatar
    Join Date
    Feb 2005
    Location
    Igloo
    Posts
    900

    Re: how to make password login for certain programs in Win Xp please..???

    what dglienna just said doesnt require any vb code at all its all in the OS itself

  5. #5
    Banned dglienna's Avatar
    Join Date
    Jun 2004
    Location
    Center of it all
    Posts
    17,901

    Re: how to make password login for certain programs in Win Xp please..???

    Set permissions on the folders for each program, and the OS will require validation.

  6. #6
    New Member
    Join Date
    Sep 2005
    Posts
    13

    Re: how to make password login for certain programs in Win Xp please..???

    The absolute best solution I can think of would be to use a ShellHook to be notified upon any window creation. Test the window for known attributes or check the parent process and compare it to a blacklist. If the process is in the blacklist, present a full-screen password dialog (If it were me, I would bitblt the screen to the form or something). If the password fails, terminate the process.

    You mention you're a newbie to vb6. If I were you, I wouldn't expect anything simple to be secure. Sure, you could use a batch file to preset your software, but any half-savvy computer user will 1) notice it's a batch file and 2) run the actual .exe from the application's folder.

  7. #7

    Thread Starter
    Addicted Member
    Join Date
    Nov 2005
    Posts
    185

    Re: how to make password login for certain programs in Win Xp please..???

    Would you please explain in further detail if using VB 6 please...as a code walktrough..???

    Thanks very much for your helps...

    Jennifer

  8. #8
    I'm about to be a PowerPoster! Hack's Avatar
    Join Date
    Aug 2001
    Location
    Searching for mendhak
    Posts
    58,333

    Re: how to make password login for certain programs in Win Xp please..???

    Quote Originally Posted by zach007
    Would you please explain in further detail if using VB 6 please...as a code walktrough..???

    Thanks very much for your helps...

    Jennifer
    The solutions proposed here do not involve VB6. In fact, they don't involve any programming language at all. The permissions that are being referred are at the operating system level. I believe that in order to set these permissions you need to be an administrator of the machine.

  9. #9

    Thread Starter
    Addicted Member
    Join Date
    Nov 2005
    Posts
    185

    Re: how to make password login for certain programs in Win Xp please..???

    Hi,

    I have already tried to do right click then go to properties...but, I cant find any permission features/options...I am using Windows XP Pro SP2.....

  10. #10
    I'm about to be a PowerPoster! Hack's Avatar
    Join Date
    Aug 2001
    Location
    Searching for mendhak
    Posts
    58,333

    Re: how to make password login for certain programs in Win Xp please..???

    When you right click and do properties, do you see a tab that says "Security"?

    That is what you want.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width