I cant just choose any of them. Or distinguish. They all have their own weaknesses, either as a programming language or a cgi script. They all have security issues. Here much depends on YOUR security skills. Whichever of them u choose, you have to learn its security issues deep, flaws of it as a publicly accessable server side cgi script, etc.
As a tip for the beginning I will say that the main problem with cgi-scripts security is user inputs. It has to be validated, checked almost everytime, removed the non important characters, or better to set a character set that are only acceptable.
Dunno if I could help much. Perl and php are better and surely faster for a cgi script than C or most other compiled languages that can be used as a cgi language.
GL.
OkIDaN




Reply With Quote