Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re^2: perl vs. php

by emazep (Priest)
on Nov 17, 2005 at 00:53 UTC ( [id://509255]=note: print w/replies, xml ) Need Help??


in reply to Re: perl vs. php
in thread perl vs. php

Neither. It's an irrelevant question. Programs are secure or not. You can write secure programs in any language (and it's difficult in all of them), and you can write insecure programs in any language (and that's surprisingly easy).
That's not completely true (at least in this case.)
Contrary to Perl, PHP doesn't have a taint mode, which is a deficiency of the language.
Granted, you can still write secure programs without using the taint mode, but it can be much harder to detect the vulnerabilities of your code.

Ciao,
Emanuele.

Replies are listed 'Best First'.
Re^3: perl vs. php
by Perl Mouse (Chaplain) on Nov 17, 2005 at 10:06 UTC
    It's still very easy to write insecure programs that have tainting enabled. The fact that Perl has a tainting option doesn't make Perl secure. It just gives the programmer one more piece of rope (either to hang himself, or to use well).
    Perl --((8:>*

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://509255]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (6)
As of 2024-04-18 02:23 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found