• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 418
  • Last Modified:

Is JavaScript a security threat? can it transmit viruses?

I'm working with a client who has turned off javascript in each of the companies browsers because they believe that viruses can be passed to them if they enable JavaScript.

is this possible? Is he referring to Java applets? or are they referring to the Javascript utility that plays a joke on the user by popping up a virus warning.

A little clarification on the security risks of javascript if any.

1 Solution
JavaScript is considered by some to be a security threat.  It is possible for a script to open the file system scripting object of the windows scripting host and do something malicious with that, but using Internet explorer's default settings, a warning box appears warning you that the script is attempting a possibly unsafe operation.  I am not certain what Netscape Navigator does.  It would also be possible to loop a script and freeze the browser session or crash the system by using all possible resources by opening new browser windows in a loop.  These last two aren't really security problems only nuisances.
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Get your problem seen by more experts

Be seen. Boost your question’s priority for more expert views and faster solutions

Tackle projects and never again get stuck behind a technical roadblock.
Join Now