Re: [SMARTY] Security
| From: | Katana | Date: | Thu, 13 Mar 2003 10:31:26 +0000 |
| Subject: | Re: [SMARTY] Security | ||
| References: | 1 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-8606@lists.php.net to get a copy of this message | ||
lyc> Would it be possible to have some mechanism within smarty so
lyc> once the templates have all been compiled and you know they
lyc> aren't going to change to set the permissions on the
lyc> compiled templates directory so it will work with read only
lyc> permissions set?
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 ?
Katana