# AppletSecurity

Mehrva RABII (rabii@ltssg12.epfl.ch)
Mon, 11 May 1998 13:28:34 +0200

- Messages sorted by: [ date ][ thread ][ subject ][ author ]
- Next message: Luciano da Silva Coelho: "JCE and APPLET"
- Previous message: Pascal Ledru: "Re: Applet receiving multicast msg ?"

    Message-Id: <3556E0E2.4764@ltssg12.epfl.ch>

    Date: Mon, 11 May 1998 13:28:34 +0200

    From: Mehrva RABII <rabii@ltssg12.epfl.ch>

    To: java-security@web1.javasoft.com

    Subject: AppletSecurity

Hi,

I have a problem and I really don't understand why.

I have written an applet which works very well on the Suns of our
computer sience department with jdk 1.1.6. BUT it dosen't work on the
Suns of electrical engineering department with the same JDK.

I run my applet on "appletviewer" AND on local, so it would not have a
lot of security problem.

BUT

There is an exception.

In my applet, I want to connect to an Url given by user and before
connecting I check to see if the Url exists.

So, I use the method "getResponseCode" of class HttpURLConnection.
And I receive this exception :

sun.applet.AppletSecurityException : checkconnect.networkhost1

Can you help me and tell me what's happen ?

Thanks a lot.

Mehrva

- Next message: Luciano da Silva Coelho: "JCE and APPLET"
- Previous message: Pascal Ledru: "Re: Applet receiving multicast msg ?"