Results 1 to 4 of 4
  1. #1
    meghana is offline Member
    Join Date
    Mar 2010
    Posts
    9
    Rep Power
    0

    Smile lock desktop using java code

    hello

    we are developing one application for lab.We have to lock our desktop. Whenever user put his id & submit it, if he is valid user then only desktop will be unlock. If he enter wrong ID more than 3 times then pc will be restart.

    Please help us to solve this problem.

    Thanks in advance.

    Megha

  2. #2
    gcalvin is offline Senior Member
    Join Date
    Mar 2010
    Posts
    953
    Rep Power
    5

    Default

    Every modern operating system already has this feature, and if it's not implemented at the OS level, it will be trivially simple to defeat. Why do you want to attempt this in Java?

    -Gary-

  3. #3
    meghana is offline Member
    Join Date
    Mar 2010
    Posts
    9
    Rep Power
    0

    Default

    Hi

    Actullly the function of application is like when PC starts desktop will be locked and my appllication is on desktop. NO other function will be used. When enter valid id the desktop will be unlock otherwise it's Log OFF. We already search the run time DDL for Log Off & shut down function Which used in JAVA.

    for example:Runtime.getRuntime().exec("rundll32 url.dll,FileProtocolHandler " + "logoff.exe");

    we want similar type for lock function.

    Megha

  4. #4
    meghana is offline Member
    Join Date
    Mar 2010
    Posts
    9
    Rep Power
    0

    Default

    sir

    We want this application on client server. Our progrm is basically on the server, We have to run login page on many clients. So for that we want to lock the desktop of clients.

    Megha

Similar Threads

  1. Logger and file lock
    By segolas in forum Advanced Java
    Replies: 3
    Last Post: 01-14-2010, 05:02 PM
  2. 3x wrong password will lock the system
    By ashin in forum SWT / JFace
    Replies: 0
    Last Post: 07-11-2009, 05:03 PM
  3. How to reserve/lock a record/object for update
    By Steve11235 in forum Java Tip
    Replies: 0
    Last Post: 01-12-2009, 04:46 PM
  4. lock a file
    By flaca in forum New To Java
    Replies: 3
    Last Post: 08-19-2008, 04:00 PM
  5. object lock question
    By simon in forum New To Java
    Replies: 2
    Last Post: 08-01-2007, 05:36 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •