I read a lot about viruses being illegal, but at what point does a piece of code become a virus and become illegal? Information enters and leaves our computers on a daily basis and often times some information from our computer will enter someone elses computer in some form via the internet. Is there a legal definition of a virus and what is considered to be illegal? Is it only when the virus steals information of causes some malicious harm that it is illegal?

closed as off-topic by Eric G, John Deters, scuzzy-delta, Adi, Gilles Apr 8 '14 at 8:13

This question appears to be off-topic. The users who voted to close gave this specific reason:

  • "This question does not appear to be about Information security within the scope defined in the help center." – Eric G, John Deters
If this question can be reworded to fit the rules in the help center, please edit the question.

  • 2
    Legality would depend on country/region and would vary. If there are legal concerns, you should ask a lawyer. A virus is a self replicating code; if this code is not authorized to be run on a system this may be a problem, but running code on your own server may not. – Eric G Apr 8 '14 at 2:18
  • This question appears to be off-topic because it is about the law in an unspecified locale. – Gilles Apr 8 '14 at 8:13

Browse other questions tagged or ask your own question.