Results 1 to 3 of 3
  1. #1
    nareshnettem is offline Member
    Join Date
    May 2008
    Posts
    2
    Rep Power
    0

    Question Reading Client Windows Registry through browser

    Hi,

    I am trying to read the Client Windows Registry by using an applet but it is throwing the following error in java console

    java.security.AccessControlException: access denied (java.io.FilePermission <<ALL FILES>> execute)
    at java.security.AccessControlContext.checkPermission (Unknown Source)
    at java.security.AccessController.checkPermission(Unk nown Source)
    at java.lang.SecurityManager.checkPermission(Unknown Source)
    at java.lang.SecurityManager.checkExec(Unknown Source)
    at java.lang.ProcessBuilder.start(Unknown Source)
    at java.lang.Runtime.exec(Unknown Source)
    at java.lang.Runtime.exec(Unknown Source)
    at java.lang.Runtime.exec(Unknown Source)
    at RegQuery1.start(RegQuery1.java:63)
    at sun.applet.AppletPanel.run(Unknown Source)
    at java.lang.Thread.run(Unknown Source)

    Is there any other approach to read the client Registry entrys other than applets?

    please do the needful.

    thanks in advance

    regards,
    Naresh.

  2. #2
    Jesdisciple is offline Member
    Join Date
    May 2008
    Posts
    22
    Rep Power
    0

    Default

    I think you need to have the user install a full-blown application. Applets are "sandboxes" cut off from spying on or sabotaging the user.

  3. #3
    nareshnettem is offline Member
    Join Date
    May 2008
    Posts
    2
    Rep Power
    0

    Smile [solved] Reading Client Windows Registry through browser

    thanks for your reply

    we should sign the jar file for accessing the local filesystem from the
    applet. for that I followed the below procedure to sign the jar:

    Let Applet Name is MyApplet

    keytool -genkey -alias MyApplet -validity 365

    We have to provide all information about our locale. Fill all and then
    sign the applet with jarsigner

    jarsigner MyApplet.jar MyApplet

    Regards,
    Naresh.

Similar Threads

  1. could not be found in the registry
    By alam99 in forum Eclipse
    Replies: 0
    Last Post: 01-08-2008, 08:21 AM
  2. Identify Client in Socket Client Server Application
    By masadjie in forum Networking
    Replies: 1
    Last Post: 12-20-2007, 09:18 AM
  3. swt for windows
    By Gajesh Tripathi in forum SWT / JFace
    Replies: 2
    Last Post: 10-18-2007, 06:43 AM
  4. First windows application
    By tha_crazy in forum New To Java
    Replies: 1
    Last Post: 08-13-2007, 03:22 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
  •