Sarah Wang

Greenhorn
+ Follow
since Dec 23, 2010
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Sarah Wang

Hi,
I know how to disable permissions for the pdf existed in the local hard drive, but I use the same method to output the pdf in IE, and there is only a blank page with no exception. If any one know what's the problem? If there is any comments, I appreciate it. Thanks a lot!


Hi,
I have completely the same question like yours, but I still couldn't find a way to resolve it. Here is the related artice link I searched in this site for your reference - it generates a encrypted pdf in the local drive and it works! But in my case, I have to make the pdf output in a popup browser instead of a real pdf in the local drive. When I applied to my code, what I got was an empty page. You can try that and maybe you can figure it out. And if you do, please share with me. Thanks.

the related artice link
https://coderanch.com/t/63399/open-source/generate-secure-restricted-pdf-IText

the API and Jar you will need as follows.
API of iText (javadoc format):
http://api.itextpdf.com/

Jar:
http://bouncycastle.org/latest_releases.html

sample code
11 years ago