Re: [SMARTY] Security issues?
| From: | messju mohr | Date: | Mon, 23 Jun 2003 16:02:12 +0000 |
| Subject: | Re: [SMARTY] Security issues? | ||
| References: | 1 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-9759@lists.php.net to get a copy of this message | ||
On Mon, Jun 23, 2003 at 04:45:15PM +0100, John Wards wrote:
> Afternoon List,
>
> I have a question about the security of letting users edit template files thru
> a web based system.
>
> What issues do you think would I have to look out for if I let the general
> public have the ablility to edit my websites template files?
>
> The only one I can think of is {php}{/php} tags. Which I am about to hack abou
> tin the code to find out where I can disable them. (Anyone know where I
> should look off the top of their head?)
$smarty->security = true
see http://smarty.php.net/manual/en/variable.security.php
what this implies.
> Any other issues?
>
> Cheers
> John Wards