Tuesday, January 24. 2006Security and... Driving? (and Hiring)Trackbacks
Trackback specific URI for this entry
No Trackbacks
Comments
Display comments as
(Linear | Threaded)
good analogy!
I totally agree with it all. You know I use to code asp alot and really got angry at some people bitching it's security. Yeah it's not that good, but every code review showed me that it's bad code that left the sites open. You remenber all that scare? one word: zeljko! thanx for the plug! jf
Sure coding is like driving, but even for this there's more security measures ( http://en.wikipedia.org/wiki/Car_safety ) :
- airbag - security belt - ABS : http://en.wikipedia.org/wiki/Anti-lock_braking_system - ESP : http://en.wikipedia.org/wiki/Electronic_Stability_Program - speed limiters - Directional headlamps : http://en.wikipedia.org/wiki/Directional_headlamp So even for drivers there's technological measure to assist them and help them make less mistakes. Theses measures will not prevent all accidents, but at least it will prevent some and thus for novice as experienced drivers. There's no reason PHP could not do the same.
Fair observation.
Honestly, though: what do you actually expect PHP to implement to "solve" this problem? S
I don't think this comparison is fair. A seat belt doesn't help if I don't wear it. And ABS is useless if I try to pump the breaks like I was taught in driver's ed. Cars offer things to help drivers stay safe but if they are not used or are not used properly, it is not the car manufacturer's fault when you get hurt.
The same goes for PHP. There are plenty of tools offered to programmers to help make their code safer but if the programmer doesn't use them or misuses them, it doesn't mean that PHP is to blame when an app has a security issue. For example, you can prevent SQL injection by sanitizing input and using prepare/execute (available in both PDO and PEAR::DB). Not taking these steps is done at your own risk. Just like driving without a seat belt. Scott Mattocks
Yep, just like driving.... After a couple years you're cruising at 20mph over the limit, fiddling with the radio, putting on makeup, dialing on the cell phone, and changing clothes with an extra-super-big-gulp between your legs, a whopper in one hand, and a PDA in the other.
|
Pay the bills...Calendar
QuicksearchMy PERSONAL BlogNote:
The contents of this blog are my own, PERSONAL opinion and do not represent the thoughts or opinions of the people I work with or for. If you have a beef with something I said, take it up with ME. Thanks (-: |
|||||||||||||||||||||||||||||||||||||||||||||||||