File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

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

 
netharam ram
Ranch Hand
Posts: 202
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 4121
IntelliJ IDE Java Spring
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
netharam ram
Ranch Hand
Posts: 202
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 4121
IntelliJ IDE Java Spring
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Don't get me started about those stupid light bulbs.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic