This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
The moose likes JSP and the fly likes pdf reports Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

JavaRanch » Java Forums » Java » JSP
Bookmark "pdf reports" Watch "pdf reports" New topic

pdf reports

manasa teja
Ranch Hand

Joined: May 27, 2002
Posts: 325

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.

Bear Bibeault
Author and ninkuma

Joined: Jan 10, 2002
Posts: 63196

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).

[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Have you checked out Aspose?
subject: pdf reports
It's not a secret anymore!