PHP, Perl, ASP ... only as good as the server it's on, and the programmer's scripting.
If a server is not configured properly, many things can happen. This is an issue when
dealing with a shared webhost. If security is very important, you'll want to carefully
pick who is hosting your site, or host it yourself (for full control).