Hi,
I would like to ask how can I put general info about my .pdf file (to see it on file properties tab like author, keywords, etc
Second question - how can I secure my pdf document? I would like to block copy feature for example.
General ⇒ PDF Information and Security
PDF Information and Security
Last edited by tpokala on Thu Jan 20, 2011 9:55 am, edited 1 time in total.
NEW: TikZ book now 40% off at Amazon.com for a short time.

PDF Information and Security
You can add PDF information (usually called "metadata") with this command in the preamble for pdflatex:
An alternative is to load the hyperref package:
I don't think you can add security restrictions with pdflatex; you'll need to load it into something like Acrobat to do that. But seriously, don't do that. It's childish, and easily broken anyway. Just accept the fact that if you make something public, people can copy it. If this is a draft of something you do not want people to cite, put a note or watermark on it to that effect.
Code: Select all
Code, edit and compile here:
\pdfinfo{ /Title (My Masterpiece)/Author (Your Name)/Creator (pdfLaTeX)/CreationDate (D:YYYYMMDDhhmmss) % this is the format used by pdf for date/time/Subject (...)/Keywords (...)}
Code: Select all
Code, edit and compile here:
\usepackage[pdfauthor={Your Name},pdftitle={The Title},pdfsubject={The Subject},pdfkeywords={Some Keywords},pdfproducer={pdfLaTeX with hyperref},pdfcreator={pdfLaTeX}]{hyperref}
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
PDF Information and Security
Use a tool like PDFtk. A GUI for Wind0ws is available with PDFtk Builder. But as frabjous already pointed out, this kind of precautions can easily be levered out.tpokala wrote:[…] Second question - how can I secure my pdf document? I would like to block copy feature for example.
Thorsten
How to make a "Minimal Example"
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10