i was hacked by a guy who erased everything. I spent the day to put everything in order, and i would like to find a solution for this : he erased all the files, and also changed the title for "www" in the FTP in "www-xXX".
Is there a possibility to track the one who is trying to hack the website? (He just erased the content of the whole website, who would do that for no reason...) It is a small website, that just gives free content (some articles for free), so it took almost the whole day to upload everything back through the FTP. I am using FileZilla.
Also if i set the file permissions to 440 (in the FTP, it changes to 540), could he still access and modify the files in the FTP? There was a .htaccess and .htpassword to protect the back office interface, i don't know anything else i could try to protect the website.
It is such a silly thing to erase the whole content, as it took me a day of work to fix it, and for nothing, he was just amused to delete everything.
Thanks for your help