So what do you do to protect yourself?
There are a number of preventative measures which can be taken but the ultimate protection is to regularly back up your website and store the backup in a different location to your website’s server.
That way, if the worst comes to the worst and the only solution is to delete your site’s compromised content, you can replace it with a previous version and return Back to the Future
If you want to read more on the subject of protecting your website go to:-
https://wetherbyweb.com/peaceofmind