You can set some of these (eg. disallow printing) in the PDF itself when you create it in Acrobat. However Seam (or more accurately - iText) don't have anything to do this.
What you could do is convert the PDF to an image and display that instead. Check out the Sun PDF Renderer
My two cents commend: to be able to see your PDF document, the user (via his browser) will download it.
He will always have a way to save the data : either by looking in browser cache, by running http get, or by any other methods. To print the data, user still can make screen shots :)
If you don't want user to print it, save it, don't send your data in PDF.
I've seen an online library, where you can read books online (very similar to PDF), but can't print, neither save. They've developped their own UI (with flash I guess), but I'm sure it can be hacked to retrieve source data, as data is received and read on browser side.
Thanks to Damian and Rgds.
I have tested the PDF-Renderer.But there is some problems.
Could you please tell me the address of website you mentioned?
If this post no longer related to this forum ,please contact me at firstname.lastname@example.org.
Now you're squarely in the one of web-designs oldest arguments which has been raging ever since browsers could show images. As Thierry said you can always take a screen shot.
What you might also like to try is adding a watermark to the PDF. In our app when we don't want users having an
originalcopy we stamp it with a big
DRAFTthat covers the PDF on a 45 degree angle.
Someone with Acrobat can still get in and mess with it but at least you're stopping 99% of people.
It's a fundamental problem with digital content. Bits can be copied. There was going to be something in Windows Vista that would interact with PC hardware to allow a web server to make content that really could not be copied, and that the content distributor could be restrictions on (no printing, etc) but that doesn't seem to have taken off. There isn't a whole lot you can do about this. Certainly Seam doesn't include any magical solution to it.
Thanks for your replies.
At last, i understand it is not possible to do what i want in this issue.
Anyway ,thanks a lot.
And to offer excuse to Thierry ,because of mistaking your name.
Maybe in future i find a way to do this( probability 1%),then i will share it.