Hi I have always wondered this, and I am not smart enough yet, but hoping someone can teach me or give me some pointers, Which hosting is more secure? Linux or windows and why? I always see corporations choosing windows......
Corporations choose Windows web servers because it works well with their other Windows software and their Windows developers can much more easily develop for it. Nothing is secure if it is not configured properly or add-ons or dependencies have vulnerabilities in them.
I trust more Linux as it is open source and in case of webhosting or hosting other critical software, usually Linux is used. Also there is much more resources about Linux. So when you need help, you google and find many tutorials etc.
I prefer linux hosting mainly because you will often find it cheaper than windows hosting. But @billzo is right no software is safe, if someone wants it bad enough they will find a way. The best you can do is change basic things like ftp ports, ssh ports, and keep your os/software up to date. I also run SSL on all of my forums/blogs/websites. Just because it makes me feel a little better and gives my clients that small piece of mind. Also I feel Linux command is more more simple to use than dos.
I prefer Linux Hosting is more secured. As its completely based on commands you can setup your own security constraints on firewall. Linux is most user friendly and affordable.
If you need to find reliable Linux or Windows hosting service which can host your websites and make them always online when they're supposed to be, don't make your job more difficult, I will help you with pleasure. Just PM me.
Most hack attempts happened from scripting, both windows and linux servers are secure as long as configured correct.