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 ;)
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.
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 ;)
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
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.
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.
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
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.
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..... :confused:
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.