# Latex command escape

We are using latex for pdf generation on our server. I would like to increase the security of our system with latex command escaping for data content ie remove all latex / tex / xelatex executable code. My question is if it is enough to remove the '\' character? Or are there any other special characters I should remove as well?