Re: [SMARTY] Security

From: Date: Thu, 13 Mar 2003 12:08:06 +0000
Subject: Re: [SMARTY] Security
References: 1 2 3  Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-8609@lists.php.net to get a copy of this message
On Thu, Mar 13, 2003 at 06:59:09AM -0500, lists@yewlands.com wrote: > Quoting Katana <katana@katana-inc.com>: > > > The force_compile = false & compile_check = false solution given > > by messju mohr would work, but why don't you just set a > > htaccess security on this directory ? Forbit access from HTTP for > > anyone, and there is no problem right ? > > Yeah I already did this but I still don't like the idea of a directory with > these permissions under the web root. they don't have to be chmod 777, you can also chown the directory to the webserver-user and make them 700, or so. or you run php as cgi, then you can use apache's suexec-features. but this has slight worse performance than php as an apache-modul. and you cannot use an accelerator with the cgi-version, which can boost smarties performance considerably in certain circumstances. HTH messju > Thanks for the answers anyway > > matt

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