This article explains, among other things, that safe_mode is no substitute for a secure server, and no shared host is ever going to be as secure as a dedicated one. However, if you're stuck on a shared host, I give some advice for making the most of your stay.