Re: petition against registering
| From: | Hans-Peter Oeri | Date: | Tue, 09 Oct 2001 17:58:42 +0000 |
| Subject: | Re: petition against registering | ||
| References: | 1 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-1650@lists.php.net to get a copy of this message | ||
Hi!
On Tue, 9 Oct 2001, Anders Janson wrote:
> But this could lead to a security nightmare if you have a system that
Ok, security. Let's say we introduce a list of "allowed" functions that's
empty by default - a special case to allow all.
The registering process IMHO only eats up precious time. As soon as PHP
parsed a file, we have a list of functions. For security reasons we could
match against the list of allowed functions (if not empty) before calling
(but still directly -> no registration)
> Or let Smarty auto-register functions that are named according to "the
> rules" (that we don't have yet!)?
It's the process of registering itself, that I'm targetting... As it's
that process eating resources - auto-registering would most probably eat
up even MORE :(
Don't conform!
IkKampfCaspar75