Re: Run-time taint support proposal

From: Date: Wed, 20 Dec 2006 09:58:10 +0000
Subject: Re: Run-time taint support proposal
References: 1 2 3 4 5 6  Groups: php.internals 
Request: Send a blank email to internals+get-27142@lists.php.net to get a copy of this message
So my conclusion at this point is, that very frequently taint will not improve the security significantly because any given input will still be usable in an unfiltered/incorrectly filtered way for at least one context. As such it just adds code at the very core of php that provides too little of a benefit to be worthwhile.
I disagree - you describe scenario where the user chooses to insufficiently or wrongly sanitize the data, and since tainting can not protect from it you say tainting is not useful. However, as I already said, tainting is not supposed to do that. It's like blaming computer OS for not preventing somebody from stealing the laptop with it :) Tainting IS NOT supposed to cure all your security problems. It is supposed to help YOU deal with some of them. -- Stanislav Malyshev, Zend Products Engineer stas@zend.com http://www.zend.com/

« previous php.internals (#27142) next »