On Jan 1, 10:21 am, Blaine Nelson <[EMAIL PROTECTED]> wrote:
> I'm having trouble using Java to access the Google Spreadsheet through
> its GData API.  While I was able to run my application successfully as
> a client application running on AppletViewer, when I started to
> develop a web-based version ...

The web is a big place.  Care to narrow it down
with an URL to this broken applet? ***

>..of the application, I ran into Java
> security issues that I haven't been able to get around.  Namely, I'm
> getting the following Exception:
>
> java.lang.RuntimeException: java.security.AccessControlException:
> access denied (java.net.SocketPermission www.google.com resolve)

Untrusted applets will not be allowed socket connections
to a server other than the host that is the source of
the applet.  Perhaps unless the applet* is launched using
webstart, which might allow 'prompted' access via a
sandboxed** applet.

* <http://www.physci.org/jws/#jtest>

** <http://www.physci.org/jws/#kk>
(Note particularly the image that appears 'onmouseout'
of the screenshot to the right.)

> Clearly, I'm not properly setting up my applet.  I've tried self-
> signing the jar I'm using, but that doesn't seem to work

Did you verify the digital signature? ***
Are you prompted to trusting the applet when it loads? ***

Where can we see this failing applet? ***

>..and I haven't
> found a good resource on how to do this properly.  Does anybody have
> experience or recommendations ..

*** ..my recommendation is to take up any further
discussion of Java deployment/security on one
of the comp.lang.java.* Usenet newsgroups.  E.G.
<http://groups.google.com/group/comp.lang.java.programmer>

--
Andrew T.
PhySci.org
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Data API" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/google-help-dataapi?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to