# Re: question about java applets contact with other hosts .

Charlie Lai (Charlie.Lai@Eng)
Wed, 11 Mar 1998 16:48:29 -0800 (PST)

- Messages sorted by: [ date ][ thread ][ subject ][ author ]
- Next message: Charlie Lai: "Re: Signed Applets"
- Previous message: Sunil Khiani: "Re: Denial of Service Attack?"

    From: Charlie.Lai@Eng (Charlie Lai)

    Message-Id: <199803120048.QAA23555@angeles.eng.sun.com>

    Subject: Re: question about java applets contact with other hosts .

    To: trihcom@public.wh.hb.cn (3H)

    Date: Wed, 11 Mar 1998 16:48:29 -0800 (PST)

    In-Reply-To: <34FE0CEC.4188B52C@public.wh.hb.cn> from "3H" at Mar 5, 98 10:24:46 am

hi,

> I have one question about java applet's security,Can you help me?
> As we know,applet can only communication with host which it was
> downloaded from,
> a applet that want to communication other hosts may cause a security
> problem.
> But sometimes we really want the applet to communication with other
> hosts.For example,
> a applet uses jdbc to connet with a database server,but the database
> server and the web
> server where the applet comes from are not on the same host machine.At
> this time ,how can I do?

if your applet is signed and trusted, it can connect to other hosts.
there's an example at:
http://java.sun.com/security/signExample
which should help you get started.

hope this helps,
charlie

- Next message: Charlie Lai: "Re: Signed Applets"
- Previous message: Sunil Khiani: "Re: Denial of Service Attack?"