Hacking can be either legal or illegal depending on authorization and intent. Ethical hacking involves performing the same activities as illegal hacking but with the owner's permission as part of an overall security program. The history of hacking began in the 1960s and different types of hackers like phone phreakers emerged over subsequent decades as technology advanced. There are different types of illegal hacking techniques but also ethical white hat and grey hat hackers who use their skills to help protect systems rather than for personal gain or malicious purposes. The consequences of illegal hacking can include fines, imprisonment, and computer seizure.