There is no foolproof way to protect against ransomware attacks, but there are steps that organizations can take to mitigate the risk.