Second login window
Okay, I need a little help regarding my program, and FYI, I haven't started writing the code yet, so you don't have to make it according to any special controls or anything.
what I'm trying to do is that after the user of the computer logs in to a windows-account called for example "Guest",
I would like to have a second login-screen that forces the user to say who he/she is, before he/she can use the actual desktop and menus.
What I don't know how to do is how to make sure that there is no way around this log in screen.
I hope I was clear enough about what I meant, so there won't be no mis-understandings
Btw, I hope I posted this right and stuff, not very used to posting new threads and stuff...
All answers are appreciated
Oh! FYI, I'm using two monitors (1920;1200, 1680;1050), might be irrelevant but just in case
The only way to make it impossible to circumvent (and even then it's not totally impossible) is not to allow 'guest' log-ins in the first place. There's no logic at all in a system which allows you to sign in anonymously purely for the purpose of disallowing you to sign in anonymously!
Okay, Thanks for quick answer
But there should be a way to like block all user input and put the program in the startup folder or something? Like if you make huge unclickable form which takes all the space of the screen and that is not movable or anything?
I mean, it doesn't have to be COMPLETELY impassable, but maybe for the regular user, people who barely know about the task manager.
Last edited by NoIdeas; 08-10-2012 at 2:49 PM.
Reason: 3:d row was added
If you disable all input then it won't be possible for legitimate users to bypass it either!
Yup. I think I've seen one of those. Now where was it? Oh yeah, the Windows log-in screen! Like if you make huge unclickable form which takes all the space of the screen and that is not movable or anything?
Again. Don't allow 'guest' log-ins!
Okay, great Does anyone know HOW TO disable all input except for the actual form? :S If you disable all input then it won't be possible for legitimate users to bypass it either!
Haha, well, that is basically what I try to reach Yup. I think I've seen one of those. Now where was it? Oh yeah, the Windows log-in screen!
Well, I won't actually allow anyone in, the program will be designed to monitor the time my (for example) brother uses the computer, and I needed this to verify who it is who uses it. Again. Don't allow 'guest' log-ins!
The "Guest" account will probably be a normal account with a lot of restrictions, wich will have a password that I will give to those who are allowed to use it.
But thanks for the tip anyway
Yes. You just change a whole lot of registry entries prior to log in and then reverse them when the 2nd log in is successfully passed and restart to ..... oh! Okay, great Does anyone know HOW TO disable all input except for the actual form?
Yes, yes, I know you want me to use the original log-in screen only, but I don't want to :P That would destroy the whole fun part of it
But i guess, it maybe is a lot easier and takes less time... Maybe I'll stick with the original.... :S
Well, thanks for all your help and suggestions If no one disagrees, I would consider this thread as answered/resolved
Why not set up windows user accounts for the users, disable guest and write something that monitors login times at start up.
The environment.username will tell you who logged in and you could write that plus a time stamp to a log. Or write something to look for event log events for logging in and out and parse them for quick access...
Sent from my XT910 using Tapatalk 2
Yes, I have thought of making a timestamp when the user logs in, but I wan't to make it able to see when and what programs the user starts and exits different programs and also if the user is by the computer (like checking mousemovement and stuff, although I don't know if that works when a game is running.
That, I could do, but honestly I have NoIdeas how to monitor the programs started and exited and I'm not sure how to ckeck the mousemovement part in an efficient way... :S
But actually a log seems like a plausible option...
Thanks for the suggestion, it brings me some inspiration again
Everything you want already exists in Windows 7's parental controls. Just create your brother a user and restrict his account via parental control.
Yes, but once again, that is not as fun!
The internet probably contains hundreds of versions of the programs that I create, but downloading them would just kill the joy. It's the programming that I'm looking for, not the program itself.
Tags for this Thread