Re: is PHP less secure than Perl, Python, or Ruby?



..oO(walterbyrd)

I honestly don't know. But, I have seen articles and posts about how
PHP is terribly insecure. I don't usually see comparisons to other
common web languages.

You can write insecure and vulnerable code in every language.
A tool is just as good as the one who uses it.

I think the big vulnerablity is supposed to be code injections.

There are many different kinds of injections (code, SQL, mail headers,
XSS ...). Some languages may have their own ways to handle some of them
(tainted variables, prepared statements ...), in others you have to make
your hands more dirty, but you always have to take them into account in
every language used for server-side programming.

Another security issue would be having code stolen, but I think that
PHP can be protected from that.

PHP is executed on the server. If someone is able to get the code then
you have another _real_ problem.

Micha
.



Relevant Pages

  • Re: Case sensitivity in programming languages.
    ... Every time someone creates a post about case sensitve languages I reserve ... At least not in PHPP, ... Thus I can create different things called 'foo' and reference each ... sensitive languages trying to force case sensitivity into ALL languages. ...
    (comp.lang.php)
  • Re: PHP as a secure language? PHP worms? [was: Re: new linux malware]
    ... _Programming Languages: Concepts and Paradigms_ he defines some of the paradigms of programming languages; on pp 12-13, ... This book is classic but doesn't list Perl or PHP or Java -- but the concepts are the same. ...
    (Bugtraq)
  • Re: Php invented by a former DECcie ?
    ... Dijkstra would have said about these languages as compared to his ... PHP does not even have a goto statement. ... It's not the perfect scripting language but it has gotten a lot better over the years. ... If Perl or PHP will get it done faster that's what you use. ...
    (comp.os.vms)
  • Re: PHP global namespace clogged up
    ... Only a bad programmer would confuse the two. ... PHP does not have linking. ... > This is why most programming languages have namespaces - and use them. ... None of the languages I have used in the past 30 years have had namespaces. ...
    (comp.lang.php)
  • Re: PHP global namespace clogged up
    ... This is why most programming languages have namespaces - and use them. ... > PHP functions do not need all that bloat to work, so again I say "it is not ... The benefits of OO design mainly show up when building large projects, ...
    (comp.lang.php)