Reputation:
I'm setting up a website which would allow users to use certain select latex commands to build a document. They would then be able to preview the document, which means I would:
pdflatex
commandHow secure is this? Is there a better way of doing this?
Upvotes: 5
Views: 993
Reputation: 4591
It's reasonably secure if you don't enable \write18
. Of course you should use chroot
and ulimit
if you are running Unix. See here for the security of TeXLive 2011. And see here for the answer on TeX.SX.
Upvotes: 4