Possible Duplicate:
Protecting WordPress installations
i have control panel access to my wordpress website, but last week it got hacked and i found that the index.php was replced by the hackers file. I am amazed how did the hacker got the access of my folders without c redentials,
Can someone help me on this? How to secure my folders from hacking?