Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!news.swapon.de!eternal-september.org!feeder.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: Eric Sosman Newsgroups: comp.lang.java.programmer Subject: Re: How to make my java applets more user friendly Date: Fri, 11 Jul 2014 18:22:05 -0400 Organization: A noiseless patient Spider Lines: 39 Message-ID: References: <04c1fe18-b023-4f45-8fa3-3c2f78cba69e@googlegroups.com> <00019c29-614d-4cfc-aca8-4606bee766dd@googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Injection-Date: Fri, 11 Jul 2014 22:22:17 +0000 (UTC) Injection-Info: mx05.eternal-september.org; posting-host="bd4e1cba8d8592bec5d5ed9e4537fbfd"; logging-data="23287"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+XCKATydu5SAXWpzJZ6KqL" User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.6.0 In-Reply-To: Cancel-Lock: sha1:yNymN0r9Sdx0dmOKTep+u+vHMbM= Xref: csiph.com comp.lang.java.programmer:29059 On 7/11/2014 5:30 PM, blmblm@myrealbox.com wrote: > In article , > Eric Sosman wrote: >> On 7/3/2014 9:01 AM, w.tom.adams@gmail.com wrote: >>> [...] >>> One question I have is this: Why is Javascript not as vulnerable as Java Applets? >> >> Experts (I'm not one) have opined that the security models for >> JavaScript and Java are fundamentally different. JavaScript (they >> say) was designed from its infancy to run in a browser's sandbox, >> but Java is a fully-functional general-purpose language with a >> sandbox bolted on afterwards. > > Hm! I thought I had read, back when I first started learning Java > (1998?), that one of the original design goals of the language was > to provide just the kind of sandbox that would make it safe to run > applets from possibly-untrustworthy sources, and its evoluation into > a general-purpose language came later. But I haven't researched > the history, so you could be right. lists "robust and secure" as one of five primary goals for Java, but it's not clear whether these goals were "original" or just sort of retrofitted after Java/Green/Oak moved beyond set-top boxes. Also, it seems to me that each of the five goals offers at least some opportunity to meditate on the difference between "goal" and "achievement," and to mutter the old saying that one's reach should exceed one's grasp ... offers a few words on Java security, although some of the gripes seem to have more to do with Oracle's support of Java than with Java itself. The page at gets more specific about particular flaws and exploits thereof. (I imagine a security expert might have a few quibbles with the latter page, though.) -- Eric Sosman esosman@comcast-dot-net.invalid