Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Java > Applet Security

Reply
Thread Tools

Applet Security

 
 
Sean
Guest
Posts: n/a
 
      03-06-2004
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


 
Reply With Quote
 
 
 
 
Albert Deinbeck
Guest
Posts: n/a
 
      03-07-2004
"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


 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
When Javascript call applet method, applet throw security exception. crazytazo Java 3 10-06-2008 11:12 PM
IT-Security, Security, e-security COMSOLIT Messmer Computer Support 0 09-05-2003 08:34 AM
Re: newbie: Join JApplet & Applet in one applet Andrew Thompson Java 0 08-05-2003 01:41 PM
Re: play wave files using java.applet.Applet webster Java 0 07-20-2003 01:51 PM
applet vs. canvas in applet Rob Love Java 1 07-07-2003 10:07 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57