Sandbox for template engines