KTUGFaq
KTUG FAQ
You attempt things that you do not even plan because of your extreme stupidity.
FrontPage › PDFEncryption
PDF / Encryption
DVIPDFMx¸¦ ÀÌ¿ëÇÏ¿© ¹®¼ ¿±â ¾ÏÈ£¸¦ °É°Å³ª Àμ⠶Ǵ ÅؽºÆ® º¹»ç/ÃßÃâÀ» Á¦ÇÑÇÏ´Â µî º¸¾ÈÀ» ¼³Á¤ÇÏ´Â ¹æ¹ý. ÀÌ°ÍÀº DVIPDFMx¸¸ÀÇ ±â´ÉÀÌ´Ù.
dvipdfmx.cfg¿¡ °£·«ÇÑ ¾È³»°¡ ÀÖ´Ù.
% Permission flag for PDF encryption: Revision will be 3 if the key size % is greater than 40 bits. % % 0x0004 (Revision 2) Print the document. % (Revision 3) Print the document (possibly not at the highest quality % level, depending on whether bit 12[0x0800] is also set). % 0x0008 Modify the contents of the document by operations other than those % controlled by bits 6[0x0020], 9[0x0100], and 11[0x0400]. % 0x0010 (Revision 2) Copy or otherwise extract text and graphics from the % document, including extracting text and graphics (in support of % accessibility to disabled users or for other purposes). % (Revision 3) Copy or otherwise extract text and grphics from the % document by operations other than that controlled by bit 10[0x0200]. % 0x0020 Add or modify text annotations, fill in interactive form fields, % and, if bit 4[0x0008] is also set, create or modify interactive % form fields (including signature fields). % % (Revision 3 only) % 0x0100 Fill in existing interactive form fields (including signature % fields), even if bit 6 is clear. % 0x0200 Extract text and graphics (in support of accessibility to disabled % users or for other purposes). % 0x0400 Assemble the document (insert, rotate, or delete pages and create % bookmarks or thumbnail images), even if bit 4 is clear. % 0x0800 Print the document to a representation from which a faithful digital % copy of the PDF content could be generated. When this bit is clear % (and bit 3 is set), printing is limited to a low-level representation % of the appearance, possibly of degraded quality.
±âº»°ªÀº P 0x003CÀε¥, ÀÌ°ÍÀº 40ºñÆ® º¸¾È¼öÁØ¿¡ ÇØ´çÇÏ´Â °ªµéÀ» ¸ðµÎ ´õÇÑ °ÍÀÌ´Ù. ÀÌ °¡¿îµ¥ 0x0010(Copy and Extract)¸¸ Çã¿ëÇÏÁö ¾ÊÀ¸·Á¸é ±âº»°ªÀÎ 0x003C¿¡¼ 0x0010À» »©ÁÖ¸é µÈ´Ù.
#> dvipdfmx -S -P 0x002C fooÆнº¿öµå¸¦ µÎ ¹ø¾¿ µÎ ¹ø ¹¯´Âµ¥, µÎ¹ø°(Áï ¼¼¹ø°) ¹¯´Â User Password¸¦ ÁöÁ¤ÇÏÁö ¾ÊÀ¸¸é ¹®¼¸¦ ¿ ¶§ Æнº¿öµå¸¦ ¹¯Áö ¾Ê°Ô ÇÒ ¼ö ÀÖ´Ù.
128ºñÆ® ¼öÁØÀÇ Revesion 3 º¸¾È ¿É¼ÇÀ» ÀÌ¿ëÇÏ·Á¸é ´ÙÀ½°ú °°ÀÌ µÈ´Ù.
#> dvipdfmx -K 128 -S -P 0x0D00 fooÇÁ¸°Æ®´Â Çã¿ëÇÏ¸é¼ ¿À·ÎÁö º»¹® º¹»ç/ÃßÃ⸸ ¹æÁöÇÏ·Á¸é ´ÙÀ½°ú °°ÀÌ ÇÑ´Ù.
#> dvipdfmx -K 128 -S -P 0x082C foo