File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Swing / AWT / SWT and the fly likes how to lock the system with a blank screen???? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "how to lock the system with a blank screen????" Watch "how to lock the system with a blank screen????" New topic
Author

how to lock the system with a blank screen????

netharam ram
Ranch Hand

Joined: Aug 09, 2001
Posts: 202
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:
Nathan Pruett
Bartender

Joined: Oct 18, 2000
Posts: 4121

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.

-Nate


-Nate
Write once, run anywhere, because there's nowhere to hide! - /. A.C.
netharam ram
Ranch Hand

Joined: Aug 09, 2001
Posts: 202
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.
Nathan Pruett
Bartender

Joined: Oct 18, 2000
Posts: 4121

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...

-Nate
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: how to lock the system with a blank screen????