Re: How to make my java applets more user friendly
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. Another way to look at this is that
JavaScript can do only what the browser itself can do, while Java
can do anything the JVM fails to prevent.
This is not to say that JavaScript is 100% secure -- plenty of
malware relies at least in part on JavaScript -- just that it's a
more limited risk than Java is. Or so say those who seem to know.
The history seems to be that Java Applets were exploited big-time by hackers and apparently neglected by Oracle and Cert had a tantrum and now they are not a viable option. But if I converted to Javascript, could the same thing happen to Javascript.
In my opinion (and that's all it is), applets are not viable.
Not everybody subscribes to this view -- but those who do will not
be in your website's audience.
--
Eric Sosman
esosman@comcast-dot-net.invalid