0

I work in healthcare / IT and want to use xhtml2pdf to produce PDF files out of patient information.

Is it safe to use xhtml2pdf? I don't want information to leak and I'm not completely certain that xhtml2pdf is safe. Please let me know your thoughts.

I've tried several other PDF creation packages in Python.

This one appeared to be the least risky to use.

Jan Schultke
  • 17,446
  • 6
  • 47
  • 96
B Mathew
  • 1
  • 1
  • Hi Mathew, I don't know that `library`, but the most important question is usually which data is sent where. When `local html` data is used and `python` generates a PDF out of it, from my point of view _no data is transmitted anywhere online_. I assume you use the project locally and the only "**impression**" of online activity is that the locally stored html data is displayed within your browser. – spaceKelan Aug 28 '23 at 16:33
  • Correct. This is for local use. I just wanted to make sure the data itself doesn't go anywhere else. Thanks for your help. – B Mathew Aug 28 '23 at 18:43
  • I did not work with this, so I won't lay my hand in fire but I think that it should be fine. You might want to check if it sends any data via WIFI/LAN for this check for the application (IDE) traffic. Anything related to the data you use, should be found there or better not :). – spaceKelan Aug 29 '23 at 08:56

0 Answers0