# Security

Bill (n8406020@cseserv.cse.ttit.edu.tw)
Tue, 17 Nov 1998 07:54:09 +0800

- Messages sorted by: [ date ][ thread ][ subject ][ author ]
- Next message: Bernard Leach: "ABA releases JCE crypto package"
- Previous message: Vamsi Krishna Kandala: "Help wanted"
- Next in thread: David Brownell: "Re: Security"

This is a multi-part message in MIME format.

------=_NextPart_000_001B_01BE11FF.75DCF460
Content-Type: text/plain;
charset="big5"
Content-Transfer-Encoding: quoted-printable

Q1:
I can read data from server site by using method openStream of class =
URL, but as I try to write data back to server site by using such method =
described below, I received error such like "not supported service" with =
exception "java.net.UnknownServiceException". How can I write data back =
to server site? (PS: These all run as Applet, not Application)
....
URL url =3D getClass().getResource("xxx.xxx");
URLConnection urlConnection =3D url.openConnection();
DataOutputStream out =3D new =
DataOutputStream(urlConnection.getOutputStream());
out.writeUTF("abcdefg");
out.flush();
....

Q2:
Normally, Applet can't write or even read data in client site, but I =
heard about that signed applet can freely access data in client site. =
After I read about the document about signed applet, I still can't =
understand how to do? Would you please send an example about "how to =
do"?

------=_NextPart_000_001B_01BE11FF.75DCF460
Content-Type: text/html;
charset="big5"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD W3 HTML//EN">
Q1:
I can read = data from=20 server site by using method openStream of class URL, but as I try to = write data=20 back to server site by using such method described below, I received = error such=20 like "not supported service" with exception=20 "java.net.UnknownServiceException". How can I write data back = to=20 server site? (PS: These all run as Applet, not = Application)
....
URL url =3D=20 getClass().getResource("xxx.xxx");
URLConnection = urlConnection =3D=20 url.openConnection();
DataOutputStream out =3D new=20 DataOutputStream(urlConnection.getOutputStream());
out.writeUTF("= abcdefg");
out.flush();
....
Q2:
Normally, = Applet can't=20 write or even read data in client site, but I heard about that signed = applet can=20 freely access data in client site. After I read about the document about = signed=20 applet, I still can't understand how to do? Would you please send an = example=20 about "how to do"?
------=_NextPart_000_001B_01BE11FF.75DCF460--

- Next message: Bernard Leach: "ABA releases JCE crypto package"
- Previous message: Vamsi Krishna Kandala: "Help wanted"
- Next in thread: David Brownell: "Re: Security"