Re: smarty security setting

From: Date: Wed, 23 May 2001 13:57:11 +0000
Subject: Re: smarty security setting
References: 1  Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-790@lists.php.net to get a copy of this message
On Wed, 23 May 2001, Monte Ohrt wrote: > I'm working on a security setting for Smarty. If the security flag is > set, Smarty will be safer for untrusted third party editing. So far, I > have the following conditions: > > *) strict syntax checking in IF logic (this will be the tricky one) > *) restrict what files can be {included} (what should they be?) > *) disable {fetch} function (or limit this to http/ftp?) > *) disable {php}{/php} functionality > > Are there any other vulnerabilities anyone can think of? I'm almost > certain there are loopholes to exploit, and I want to try to squash them > if I can. Disallowing arbitrary PHP functions as modifiers. -Andrei The 3 great virtues of a programmer: Laziness, Impatience, and Hubris. --Larry Wall

« previous php.smarty.general (#790) next »