pdf encryption

名前: 角藤
日時: 2002-09-26 23:09:20
IPアドレス: 203.165.2.*

encrypt_pdf.zipiText の iText.jar があれば、以下のような感じで pdf encryption ができるようです: (例は、個人的な Windows 上のもの) #! /bin/sh # pdfcrypt.sh # PDF document encryptor # # usage: pdfcrypt in_pdf out_pdf user_password owner_password permissions 128|40 # # permissions is 8 digit long 0 or 1. # Each digit has a particular security function: # # 0 AllowPrinting # 1 AllowModifyContents # 2 AllowCopy # 3 AllowModifyAnnotations # 4 AllowFillIn (128 bit only) # 5 AllowScreenReaders (128 bit only) # 6 AllowAssembly (128 bit only) # 7 AllowDegradedPrinting (128 bit only) # # Example permissions to copy and print would be: 10100000 # if [ $# != 6 ]; then echo 'Usage: pdfcrypt in_pdf out_pdf user_passwd owner_passwd permissions 40|128' exit 1 fi jdir=c:/usr/app32/java/lib java -cp ${jdir}';'${jdir}/iText.jar encrypt_pdf $@

この書き込みへの返事:

お名前
題名 
メッセージ(タグは <a href="...">...</a> だけ使えます)