This week's book giveaway is in the OCAJP forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide 1Z0-808 and have Jeanne Boyarsky & Scott Selikoff on-line! See this thread for details.
Hi, I want to lock the system screen with a blank screen & then release it with a password.I also want to allow users to use the internet with a password.How is it possible?For eg. this system is a n/w client & sharing the network using a proxy or "microsoft internet sharing".Please try to reply this too Nate.I shall be greatly thankful. Happy middling with java. Netharam :roll:
You can't write a program to "lock the System" in Java because all someone would have to do is push Ctrl-Alt-Del to kill the JVM running your program. You'd be better off just putting a password on the screensaver.
I'm not sure what you mean when you say "allow the user to use the internet with a password"? Are you writing your own web browser / email client? Are you trying to control access to native email and browser applications? The only way I can think of doing this in Java is to password protect a Java browser and email client that you have written yourself.
Of course, if you install these on a window machine, you'll have to take IE and Outlook off the machine, or people will just bypass your password protected apps.
Write once, run anywhere, because there's nowhere to hide! - /. A.C.
Joined: Aug 09, 2001
Hi, Nate why do u think of blocking the applications such as IE & outlook .I have a suggestion of removing the connection of the proxy server.i.e the proxy server settings allow u to access the internet,if this connection is disabled then automatically u will be unable to use the internet.Is this right?if so help me out. Happy middling with java. Netharam.
Yeah... if you remove the connection to the proxy server you will be unable to access the internet... but how are you going to re-enable it when a user requests it? I don't know how a Java program could re-enable the network connection in Windows...