Hi there. I don't think, that this is quite an extraordinary requirement, so I was surprised that I didn't find any documentation to this issue: I need to post a PDF by a Servlet. No problem so far. But I need to set the OWNER_PASSWORD. I use the byte[] data = JasperRunManager.runReportToPdf(jr, pm, ds) where jr is of type JasperReport, pm a Map with parameters like fonts 'n' stuff, ds is my JRDataSource I need the byte[] to determine the length of the binary (for posting content-length in http-header). Everything works fine so far - PDF is being served! But where do I have to set the OWNER_PASSWORD here?