Re: Security restrictions in signed applets
icanoop@gmail.com wrote:
I'm working on an applet that has to make network connections.
From what I understand, if the applet is signed by a trusted CA then it
should run outside the sandbox and have the necessary SocketPermission
to use the network. I have my applet signed and certified by Thawte and
the certificate seems to be working fine.
Describe what it is specifically, that
'seems to be working fine'. Is the user
prompted to grant extra permissions?
...However, I am still getting
an AccessControlException when I try to use the network because I don't
have the SocketPermission. Everything I've read says this should be
working.
That agrees with my understanding, as well
(so long as the user agreed 'yes' when asked
to run the extended permissions applet), and there
is no browser, or plug-in setting that overrides the
end user's ability to extend privileges from an applet
(though I would hope to get some feedback from
whatever was interfering with the applet).
Does anyone have any ideas why it's not working?
Have you tried ..
- refreshing the cache?
- another browser?
...How can give my applet
extra permissions without forcing the user to edit the security policy
file?
Use web-start to launch it (is one way).
I'm using the Sun Java Plugin 1.6.0 on Windows with Firefox 2.0.
What is the behaviour in IE?
Andrew T.