user623990
user623990

Reputation:

Security concerns with compiling latex dynamically on a web server

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:

How secure is this? Is there a better way of doing this?

Upvotes: 5

Views: 993

Answers (1)

Martin Schröder
Martin Schröder

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

Related Questions