How to protect against a ransomware attack