I guess the path you see is not really written in your PDF, but it is the relative path where the PDF is currently located. Apart from general information of the PDF producer ("LaTeX with hyperref package", etc.) I see no private information when examining the file with Adobe Acrobat Pro. (In this sense, PDFs produced with
XeLaTeX are more anonymous than those produced by, say, MS Word.)
However, if you wish to erase even that, you can try
(for all keys described in § 3.9 of the
hyperref package documentation).
Using Werner's suggestion---of which I was completely unaware---you can accomplish the same directly with the
PDFTeX engine, thus:
Yet I'm a bit puzzled with this slashed syntax (instead of the