There was a recent question at the Template Toolkit mailing list regarding handing Templates over to vistitors. merlyn pointed out a very scary security hole that bites even when you turn off most of the dangerous TT features:
My recommomendation is to instead consider CSS as the solution. This is, however, a hard road to travel -- if you thought designing a Perl script was hard, just wait till you try to design your site for CSS! But, with the help of the CSS Zen Garden, you might be able to allow your visitors to supply a StyleSheet instead. Take a look at the source for the Zen Garden home page ... that's all you need to do: no <table>'s, all <div>'s -- the rest is up to your vistors. ;)foo.match('$x[system "rm -rf /"]');
Oh yeah (shameless plug) ... check out my home node for another example of how CSS allows site users to customize their pages.
jeffa
L-LL-L--L-LL-L--L-LL-L-- -R--R-RR-R--R-RR-R--R-RR B--B--B--B--B--B--B--B-- H---H---H---H---H---H--- (the triplet paradiddle with high-hat)
In reply to Re: Page Templates
by jeffa
in thread Page Templates
by sulfericacid
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |