RE: Announcement: Smarty 1.4.3 now available
| From: | hans at linux dot gelrevision dot nl | Date: | Wed, 20 Jun 2001 21:16:55 +0000 |
| Subject: | RE: Announcement: Smarty 1.4.3 now available | ||
| References: | 1 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-908@lists.php.net to get a copy of this message | ||
On 20-Jun-01 Monte Ohrt wrote:
> Yes, definately don't put anything in the document root except the PHP
> scripts that are directly accessed by the browser. It is up to the user
> to take these security precautions. I don't remember exactly what
> wording we have in the manual regarding security precautions, but we
> could add some wording that gives good suggestions for smarty security.
>
http://www.phpinsider.com/php/code/Smarty/INSTALL
* in the same directory as your php application, create a "templates"
directory, "configs" directory and a "templates_c" directory. Be sure the
"templates_c" directory is writable by your web server user (usually nobody).
chown nobody:nobody templates_c; chmod 700 templates_c
You can also chmod 777 this directory, but be aware of security issues for
multi-user systems.
I will make sure to mention it in our manual too (above the webroot) and hope
that our users will follow that advise. Again, for those who don't I think there
should be some kind of redirect to make sure.
Thnks,
Hans
--
Linux : http://linux.gelrevision.nl/
phpReview : http://phpReview.nl.linux.org/
Boeken : http://nl.linux.org/boeken/