Prevention of Hacking
Gmail :
We can avoid hacking of our gmail accounts by changing http To https
by Gmail setting->general->browser connection->always use https
This prevents the hacker to get your IP address(usually,hackers can access our mail ids remotely by IP address only)
One more thing I want to share is ,many times we didn't logout from gmail account in case of sudden r uninterrupted exception.In thesae cases,there may be chance that our IP address is caught by Hackers by IP Snoofing technique,so better avoid these situations by
click Details (present in gmail bottom)->logout all sessions.This Details contains Activity of our account with browser type,IP Address,Date/time information
Note:Gmail account should be in Standard view to make all these changes