Results 1 to 2 of 2
  1. #1
    snowjo502 is offline Member
    Join Date
    Apr 2011
    Posts
    10
    Rep Power
    0

    Question Applet on jre 1.4.2 accessing local file

    It is known that signed jar do not need java.policy file when applet want to access local file.
    See the link:
    How Can An Applet Read Files On The Local File System at JavaRanch

    But without java.policy file. it constantly gives access exception when I try to write to files though the jar has been signed.

    JRE after 1.5.0,accessing local file is allowed with no java.policy file if the jar is signed.

    Is this because jre 1.4.2 must need java.policy file when access local file ? Any help will be appreciated.

  2. #2
    gimbal2 is offline Just a guy
    Join Date
    Jun 2013
    Location
    Netherlands
    Posts
    4,104
    Rep Power
    6

    Default Re: Applet on jre 1.4.2 accessing local file

    Are you really expecting an answer about a runtime that is so old it is dead and buried? In stead of trying to make stuff work with it, take that huge security risk out of your application stack ASAP.
    "Syntactic sugar causes cancer of the semicolon." -- Alan Perlis

Similar Threads

  1. Replies: 8
    Last Post: 09-13-2012, 06:13 AM
  2. Replies: 3
    Last Post: 11-09-2011, 02:51 PM
  3. Accessing Local File
    By jstys92 in forum Java Applets
    Replies: 7
    Last Post: 06-17-2011, 04:35 PM
  4. Can an internet page invoke a local applet?
    By Navigateur in forum Java Applets
    Replies: 41
    Last Post: 09-04-2010, 03:38 AM
  5. Replies: 9
    Last Post: 09-01-2009, 07:17 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
  •