| Home | Register | FAQ | Members List | Search | Today's Posts | Mark Forums Read |
|
|
|
|
#42 (permalink) | |
|
Web Developer
Join Date: Oct 2006
Posts: 2,007
|
Quote:
Instead of writing spin, just provide me with some examples of why PHP is insecure... Sure you have said compiled languages are more secure, but your reasoning for that was in case someone managed to get access to the server - which was a bit of a lame argument because someone looking at your source is the least of your troubles when they have control over your server. So to twarte that there are things like Zend guard, or roadsend, which make the source so it is not human readable. If you think PHP isn't secure, just explain why? I feel you are making the mistake of comparing the language to applications previously written for it. Just because some n00b writes a pos like PHP Nuke really badly, and people hack it, does not mean PHP isn't secure. There are plenty of multi-million pound companies, who operate soley online, making use of PHP for their ecommerce websites. If PHP is in secure, why is it so popular for such applications? |
|
|
|
|
#43 (permalink) |
|
Senior Member
|
^I'm with freelancr here. As a lame example: There's nothing insecure about this in php: Code:
It only becomes insecure because it's easy to not validate user input, prevent mysql-injections or xss, or secure private data. PHP has the lowest learning curve of all the major languages used for web-dev. This makes it an excellent choice for starting developers without a clue of security: The starting developer hacks up something extremely crappy, but it works. He is amazed by his talents and releases the app, proudly stating he's a php-developer. But after a few months, his site gets exploited to bits and people notice how this php-developer built an insecure load of crap. After this happened quite some times php got the name of being insecure while a great developer is still able to build a really strong app with it. |
|
![]() |