Applet Security

Discussion in 'Java' started by Sean, Mar 6, 2004.

  1. Sean

    Sean Guest

    it would appear an applet is hell bent on destroying my dissertation. When
    trying to receive from a servlet (on same host, contructed automatically
    from getCodeBase()), it throws an AccessControlException, giving the
    message: access denied (java.util.PropertyPermission
    http.strictPostRedirection read)

    It can send the data with no problems, its only when i try to open the
    connection to read in the reply that it throws the Exception.


    any ideas would be great,

    Thanks in advance
     
    Sean, Mar 6, 2004
    #1
    1. Advertising

  2. "Sean" <> schrieb im Newsbeitrag
    news:404a2186$0$1157$...
    > it would appear an applet is hell bent on destroying my dissertation. When
    > trying to receive from a servlet (on same host, contructed automatically
    > from getCodeBase()), it throws an AccessControlException, giving the
    > message: access denied (java.util.PropertyPermission
    > http.strictPostRedirection read)
    >
    > It can send the data with no problems, its only when i try to open the
    > connection to read in the reply that it throws the Exception.


    Hi Sean,
    Apparently your applet tries to read a system property by doing
    System.getProperty("http.strictPostRedirection");
    This is not allowed for an applet.
    I don't know if there are network classes doing this call.
    Propably it's HttpURLConnection.getFollowRedirects();?
    If you can't find the origin you could try to sign the applet.
    I hope this helps a bit.

    Albert
     
    Albert Deinbeck, Mar 7, 2004
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Rob Love

    applet vs. canvas in applet

    Rob Love, Jul 7, 2003, in forum: Java
    Replies:
    1
    Views:
    642
    Liu, Chunyen
    Jul 7, 2003
  2. webster
    Replies:
    0
    Views:
    877
    webster
    Jul 20, 2003
  3. Andrew Thompson
    Replies:
    0
    Views:
    430
    Andrew Thompson
    Aug 5, 2003
  4. Blah Blah
    Replies:
    0
    Views:
    1,448
    Blah Blah
    Aug 13, 2003
  5. crazytazo
    Replies:
    3
    Views:
    1,277
    Daniel Pitts
    Oct 7, 2008
Loading...

Share This Page