Am glad to hear this is resolved for you. There is a thread about securing your site that lists a number of steps and patches that help prevent this. I think it is called "Securing your Site"

This you may find a helpful guide.