How not to be hacked