Hi! I am Koen Lemmen from the Netherlands and I am 15 years old! Can anybody help me?I am making a Login Screen in C#. Un till now everything goes fine. The application can only close when the password is right. But people can just move it to the side and go on internet... How to make the form the only thing active. So people can't change screen before they are logged in.Greets Koen!Additional detail:I thought it would be possible to get a system like UAC where everything else is dimmed and nothing can be used until the button in UAC is pushed. |
Loading
Sam HobbsPosted Dec 31, 2011, 4:33 PM
If you want to prevent the use of the internet unless someone has logged in using your program then there is no easy way to do that. The most reliable solution is to require everyone to have a separate Windows user account and evdryone must login using their account. Then you can restrict specified users from using the internet.
If you try to do it your way, then there are many ways around the problem. Someone could install a diffferent browser program. Or they could probably execute a browser program from a flash drive. There are other possibilities that I won't evne describe here.
There were nothing like the internet when I was your age. Young people can now see extremely explicit material very easily. I assume you are trying to help adults to prevent other young people from havng access to material that they should not have access to. Instead of writing your own software, you should use software that has already been devloped for that purpose.
It is ironic that young people often know more about computers than adults. It is likely that there are many young people that can defeat anything that many adults can do to restrict the young people.
KenPosted Dec 31, 2011, 2:53 PM
Not sure if that's the best way to do it, I'm not an expert.. it's just how I would do it.
Koen LemmenPosted Dec 31, 2011, 11:46 AM
I only need some kind of script that disables everything till I'm logged in.
Like UAC and a pop up error.
Satyapriya NayakPosted Dec 31, 2011, 10:36 AM
Please refer the below link
http://www.c-sharpcorner.com/uploadfile/abhikumarvatsa/simple-login-project-in-Asp-Net/default.aspx
Thanks