My website is being hacked. iframes and JS is being added even after I have been manually searching for and removing them for the past couple of days. Why is this happening and what can I do to prevent it?
I have set all index files to permission 444 and most other files to 644. There are a few pages that have flash content being added to them and these files seem to need a more relaxed permission setting(755).
The files are mostly PHP files. I am reviewing the PHP code right now for any vulnerabilities. Is there anything specific I should be looking for and what should I be doing on the permissions front?