How to Prevent Hacking?

It may be impossible to prevent computer hacking, however effective security controls including strong passwords, and the use of firewalls are among the strategies to minimize the problem.