Results 1 to 2 of 2
  1. #1
    kuppi is offline Member
    Join Date
    Oct 2008
    Posts
    7
    Rep Power
    0

    Default Can we grant permission to applets with out changing java policy file?

    I need some help in java Applets related work.
    Hi All,
    In our project, to do some software download(this is related to project), they have made changes in java policy file.
    They have granted all the permissions in java policy file. If they don't make those changes in the policy file, software download does not work.

    Now, what client expects is

    With out changing java policy file, this software download should work.

    Is this possible? Can we add some commands in .java files to grant permissions?

    Please give me some clue if you have idea on this.

  2. #2
    Norm's Avatar
    Norm is offline Moderator
    Join Date
    Jun 2008
    Location
    SW Missouri
    Posts
    17,513
    Rep Power
    25

    Default

    Can we add some commands in .java files to grant permissions?
    If that were possible, then the .java.polcy file would NOT provide security.

    have you looked at signing the jar file the applet code is in? There are several posts on this forum on how to sign a jar file.

Similar Threads

  1. Replies: 3
    Last Post: 05-22-2011, 03:16 PM
  2. Replies: 5
    Last Post: 03-13-2009, 12:45 PM
  3. How to revoke permission to save or copy a PDF file in java
    By priyanka.dandekar in forum Advanced Java
    Replies: 11
    Last Post: 10-05-2008, 06:06 PM
  4. Djava.security.policy=applet.policy
    By willemjav in forum Java Applets
    Replies: 1
    Last Post: 03-09-2008, 01:57 AM
  5. Djava.security.policy=applet.policy
    By willemjav in forum NetBeans
    Replies: 0
    Last Post: 03-09-2008, 01:09 AM

Posting Permissions

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