This week's book giveaways are in the Refactoring and Agile forums.
We're giving away four copies each of Re-engineering Legacy Software and Docker in Action and have the authors on-line!
See this thread and this one for details.
Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

pdf reports

 
manasa teja
Ranch Hand
Posts: 325
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi

I am generating PDF reports using Itext. using Itext, is it possible to disable the print facility in the generated report.
Aslo, can we make the PDF document password protected.
If yes,
please let me know.
MT
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64631
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I do not know if the PDF format itself allows you to set up a document such that it is password-protected or print-disabled. You should probably drop in on Adobe's site for such info.
But I am assuming, since you posted this on the JSP forum, that you are serving up the PDF via a Servlet (preferred) or a JSP. In that case, you can password protect the Servlet/JSP that serves up the document using any number of protection schemes (home-grown, container-managed, Apache access, etc).
hth,
bear
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic