recently I had an issue with my site - someone managed to modify my .js file and injected a malicious code there. I have no idea how . I was just wondering how to prevent it from happening. i cleaned the file and changed my password but I am feeling that is not enough.
Do you monitor your files for changes (cron script), do you use any monitoring software? The worst thing is detecting that not early enough. That really can shutdown your business