cedwa Posted May 25, 2007 Share Posted May 25, 2007 Does anybody know of a way to secure a PDF so that it is not editable in Acrobat? We are using JasperReports to generate "official" transcript-type documents and want to limit people's ability to modify a PDF after it's been dynamically generated. I had no luck with Google or the forum search. Any links would be helpful as well. Thanks in advance Link to comment Share on other sites More sharing options...
arunvishvin Posted May 30, 2007 Share Posted May 30, 2007 Hi,Are you using Jasper Reports to export PDF files Link to comment Share on other sites More sharing options...
martynhiemstra Posted May 30, 2007 Share Posted May 30, 2007 No matter what, the free version of acrobat reader makes it impossible to edit pdf's. I'm not sure but when you are using iText to generate pdf's then it's impossible to secure pdf's. I did finf a way to sign a report: http://itextpdf.sourceforge.net/howtosign.html Link to comment Share on other sites More sharing options...
rafa.ferreira Posted May 30, 2007 Share Posted May 30, 2007 Hy brow... Take a look on the generates parameters that you can set to your PDF generator. Take a look in this code Code:exporter = new JRPdfExporter();// @see com.lowagie.text.pdf.PdfWriter;exporter.setParameter(JRPdfExporterParameter.PERMISSIONS, new Integer(PdfWriter.AllowCopy | PdfWriter.AllowPrinting)); I'm not needing that you want but in this JRPdfExporterParameter.PERMISSIONS you can set!! Take a deep look in this com.lowagie.text.pdf.PdfWriter Good luck Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now