JavaScript is a valuable tool, but can also be used to write and distribute viruses. Name three features of JavaScript that allow it to be easily used for ill will.

What will be an ideal response?


Student answers will vary.

- JavaScript gives HTML designers an easy-to-use programming tool which means more people can have access to this tool -- for positive or negative uses.
- JavaScript can put dynamic text into an HTML page, including inaccurate text or message alerts.
- JavaScript can react to events, for example, to execute a script when a page has finished loading or when a user clicks on an HTML element. This script can be malicious.
- JavaScript can be used to validate data, and can also let inaccurate data through.
- JavaScript can be used to detect the visitor's browser, and therefore take advantage of any security vulnerabilities of that browser.
- JavaScript can be used to create cookies, which means it can be used to store and retrieve information on the visitor's computer, which is a security vulnerability.

Computer Science & Information Technology

You might also like to view...

To cancel a meeting, click the meeting in the appointment area, display the Meeting tab on the ribbon, click the Cancel button to open the window for the selected meeting, and click the ____ button.

A. Send Cancellation B. Delete C. Remove D. End

Computer Science & Information Technology

Case-Based Critical Thinking QuestionsCase 6-2Gerard is studying the Earned Value table but he does not have a good grasp of what is going on. He asks his colleague Jim for a quick primer on the various elements of the table.Gerard wants to understand the Cost variance field; what formula does Jim tell him lies behind this field?

A. CV = BCWP - BCWS B. CV = BCWP - ACWP C. CV = BAC - EAC D. None of the above

Computer Science & Information Technology

The Void procedure clears any data currently placed in the Text property of a TextBox object. _________________________

Answer the following statement true (T) or false (F)

Computer Science & Information Technology

The document ____ is not displayed with in the page, but is usually displayed in a brewer's title bar or on a browser tap.

Fill in the blank(s) with the appropriate word(s).

Computer Science & Information Technology