Applets Versus ActiveX Controls

The only serious competitor to Java applets is offered by Microsoft and is called ActiveX controls. ActiveX controls are an Internet version of an older standard, called OCX controls. These controls can be written in any language and can do anything that anyone can do in that language. No technical reason prevents an ActiveX programmer from writing a Trojan horse that deletes every file on your hard drive or that copies confidential information back to the Internet. Microsoft has tried to address this problem by encouraging ActiveX developers to use their code-signing facility, making ActiveX controls proof against man-in-the-middle attacks.

Sun's approach, with Java, is different, with security checks built into ...

Get Platinum Edition Using XHTML™, XML, and Java™ 2 now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.