TCPDF::SetProtection ($permissions = array("print", "modify", "copy", "annot-forms", "fill-forms", "extract", "assemble", "print-high"), $user_pass = "", $owner_pass = null, $mode = 0, $pubkeys = null )通过SetProtection()方法设置后,生成的PDF文档就是加密过的,在用户打开PDF文档的时候就会要求输入访问密码