Signing Applet go error

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • teenIce
    New Member
    • Aug 2007
    • 36

    #1

    Signing Applet go error

    Hi all,

    I'm try to sign an applet and it works well but when in try to read "user.home" it get error.

    Code:
    java.security.AccessControlException: access denied (java.util.PropertyPermission user.home read)
    Can you guys help me...

    Thanks...
  • praveen2gupta
    New Member
    • May 2007
    • 200

    #2
    Originally posted by teenIce
    Hi all,

    I'm try to sign an applet and it works well but when in try to read "user.home" it get error.

    Code:
    java.security.AccessControlException: access denied (java.util.PropertyPermission user.home read)
    Can you guys help me...

    Thanks...
    Hi
    Use policytool to write the file permissions. By default applet is not allowed to acces data from user. You have to write the self signed applet for this and have to define the writes on the files.
    Or tell in detail what you have done so far.

    Comment

    • teenIce
      New Member
      • Aug 2007
      • 36

      #3
      I don't want to use policy file because it need to close browser and start it again. I had signed the applet and it goes well. Thanks for your help.. :)

      Comment

      Working...