bcyde
01-06-03, 19:11
| I apologize in advance for my long-windedness it's habit. Recently while talking with some other web developers the topic of the security of PHP came up - specifically the overall security of the language itself as opposed to writing secure applications within the PHP framework- and I was wondering if any people had some insight regarding this topic. One of the developers I was talking to works for a pretty well known organization that is mostly a PERL shop and expressed that he did not like using PHP because of its past security flaws. I was wondering if he felt this way because of specific version releases, or because of long term history of vulnerabilities that go unresolved (which would be surprising considering Yahoo's decision to use PHP for future development http://www.newsfactor.com/perl/story/19912.html). I am attempting to get as much of an objective answer to the overall security of PHP as a language compared to other web targeted languages (say PERL, Python, Ruby). I realize that ALL languages will have their weaknesses at one time or another do to changes within the language causing vulnerabilities like buffer overflows, mis-handled exceptions, etc. and I realize that PERL has been around much longer than PHP which may mean it has had more time to address any security issues. So as it stands with the current release versions of your favorite web languages which would you say is: 1)the most secure 2)the best in regards to usability/programmibility/performance vs security I'm hoping to open up a realistic and frank discussion about the available languages out there, hopefully as much criticism possible for any language you wish to discuss without getting into flame wars and fanboy-ism. For example let me start off. The use of sessions through cookies or passing session IDs through the URL is vulnerable to man in the middle packet sniffers or user tampering with the cookie that holds the session id. Is there another language that handles persistent data similarly, but more securely. SSL will help vs packet sniffing, but is there a language that handles this better, or is there a better way to do it in PHP? |