Article View: comp.lang.java.security
Article #3Re: You CAN'T deploy applets written in Swing.
From: Nathaniel Prentice
Date: Mon, 31 Aug 1998 00:00
Date: Mon, 31 Aug 1998 00:00
105 lines
4512 bytes
4512 bytes
I would like all the folks that replied to this one and solve this scenario. The gentlemen that originally posted had a good point... here goes... If my applet implements custom events and requires access to the system event queue this causes a security breach. Does this breach not require us to have the applet signed in order to properly run within the browser ? Also, with SUN's signing model, how do i specifically allocate privileges to print ? or are these privileges blanketed and allowed ??? VJ++ 6.0 permits us to allocate specific privileges. Also is Microsoft's CAB file usable with the JAVA plugin ? Are all the HTML tags CABBASE, CODEBASE, ARCHIVE all usable with all the signing methologies? My swing applet cannot run because it access the system event queue. Thanks I also get the following host exception... java.net.UnknownHostException: F at java.lang.Throwable.<init>(Compiled Code) at java.net.InetAddress.getAllByName0(Compiled Code) at java.net.InetAddress.getByName(Compiled Code) at java.net.Socket.<init>(Socket.java:97) at sun.net.NetworkClient.doConnect(NetworkClient.java:62) at sun.net.NetworkClient.openServer(NetworkClient.java:50) at sun.net.ftp.FtpClient.openServer(FtpClient.java:200) at sun.net.ftp.FtpClient.<init>(FtpClient.java:314) at sun.net.www.protocol.ftp.FtpURLConnection.connect(FtpURLConnection.java:70) at sun.net.www.protocol.ftp.FtpURLConnection.getInputStream(Compiled Code) at sun.net.www.protocol.http.HttpURLConnection.openConnectionCheckRedirects(Com piled Code) at sun.applet.AppletResourceLoader.loadJar(AppletResourceLoader.java:140) at sun.applet.AppletPanel.loadJarFiles(Compiled Code) at sun.plugin.AppletViewer.loadJarFiles(Compiled Code) at sun.applet.AppletPanel.runLoader(Compiled Code) at sun.applet.AppletPanel.run(Compiled Code) at java.lang.Thread.run(Compiled Code) BlkXtasy wrote in message <35e41490.89221140@news.boeing.com>... >My clients must use the Java Plug-In to access the program I'm >writing. In all actuality, I notice the Java Plug-In is quite faster. >It seems to initialize and run faster..I'm impressed with it. >\/ > > >On Tue, 25 Aug 1998 18:00:40 GMT, sean.mcdermott@usa.net wrote: > >> >> >>> > In my latest applet, I've been using the Java plugin and that works quite >>> > well in both browsers... >>> > >>> >>> I already know Swing applets will work if they're signed and we use the Java >>> plug-in. The whole point of my posting was that with the release of Swing, >>> JavaSoft has moved us to a new era. Now you have to SIGN ALL APPLETS TO MATTER >>> WHAT. Remember, before, we only had to sign applets if they attempted to leave >>> the sandbox. That's no longer true! Now, anytime you write an applet, if you >>> use Swing to do the interface, you have to sign it - period. >> >>I've been using Swing 1.0.2 (JFC 1.1?) with IE4 and haven't need to sign >>*anything*. Everything works perfectly! You do get a couple of stack traces >>on the Java Console as Swing initializes but these can be ignored. In fact, >>I'm rather impressed with the speed of Swing once it is loaded. All I do is >>include the swingall.jar file in the archive part of the applet tag. >> >>I do believe you're last sentance regarding Swing and signing is utter >>nonsense. >> >> >>-----== Posted via Deja News, The Leader in Internet Discussion ==----- >>http://www.dejanews.com/rg_mkgrp.xp Create Your Own Free Member Forum >
Technical Details
Message-ID:
<6sfjqn$k0g$1@pyrite.mv.net>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<35C76F4B.EEC8C141@hotmail.com> <gb%x1.17$f5.113257@news2.randori.com> <35C8AF2E.BA414C1D@hotmail.com> <6ruu48$iid$1@nnrp1.dejanews.com> <35e41490.89221140@news.boeing.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: ff01d,ae8d127dc4dd2b83 X-Google-Attributes: gidff01d,public X-Google-Thread: 115d3b,ae8d127dc4dd2b83 X-Google-Attributes: gid115d3b,public X-Google-Thread: 10a146,ae8d127dc4dd2b83 X-Google-Attributes: gid10a146,public X-Google-Thread: 10fd6d,ae8d127dc4dd2b83 X-Google-Attributes: gid10fd6d,public From: "Nathaniel Prentice" <professional@solutions.mv.com> Subject: Re: You CAN'T deploy applets written in Swing. Date: 1998/08/31 Message-ID: <6sfjqn$k0g$1@pyrite.mv.net> X-Deja-AN: 386636699 References: <35C76F4B.EEC8C141@hotmail.com> <gb%x1.17$f5.113257@news2.randori.com> <35C8AF2E.BA414C1D@hotmail.com> <6ruu48$iid$1@nnrp1.dejanews.com> <35e41490.89221140@news.boeing.com> X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3 Organization: MV Communications Newsgroups: comp.lang.java.security,comp.lang.java.programmer,comp.lang.java.gui,borland.public.jbuilder.applet-issues