In my previous post you have learnt ways to hack a account, now these are the ways to prevent it.
Prevent yourself from phishingIf you have opened a link which your friend(or any other person) has given, always check the url, if it is known or not,before typing your id and password.In chrome, the icon appears when Google Chrome successfully establishes a secure connection with the site you’re viewing. Many sites has 's' followed by 'http' (eg-https://login.yahoo.com/config/login) in the url of their login page, 's' here means 'secured'. These tells that all the personal details is encrypted and safe.
|Lock Icon in Google Chrome|
Prevent yourself from keyloggingAlthough every anti-virus has a spyware but getting a specialised one will ensure that your computer is not affected by any keyloggers.You can download spybot for this purpose.