I want to enable my users to upload customized versions of the index/
view templates.

Is there a way I can restrict them to use only PHP variables and
object methods?

I'm asking, because if a user uploads a customized template (.ctp) I
don't want it to include malicious code (e.g. listing directories,
opening/creating files or even doing mysql_connects).


Any ideas on filtering the templates the users upload to remove any
suspicious code?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to