Most attacks and exploits fall into the following categories:
Viruses and Trojans
Browser component exploits
With so much history to choose from, I tried to choose examples that would demonstrate the extent of the problem.
written as a demonstration, was one of the first HTML viruses. It
will only work on browsers that handle VBScript and ActiveX. That
effectively limits it to Internet Explorer, versions 4.0 and above.
And even then, default security should prevent the virus from
spreading. Example 9-1 shows an excerpt of its
Using VBScript, ...