Alaska Software Inc. - Re: protect pdf file
Username: Password:
AuthorTopic: Re: protect pdf file
Zdenko Bielikprotect pdf file
on Fri, 29 Jun 2018 09:56:42 +0200
Hi, 

please, how is it possible add password into pdf file?

TIA & Regards
                                 Zdeno
Zupan Miran Re: protect pdf file
on Fri, 29 Jun 2018 12:43:15 +0200
I use small program PDFTK

  //════════════════════════════════════════════════════════════════════════════
  //*** LOCK PDF with pasword ***
  //***   PDFTK input.pdf OUTPUT mynew.pdf USER_PW mypasword
  //════════════════════════════════════════════════════════════════════════════
...
something like this

ukaz:="&cFileTMP1"+".PDF OUTPUT "+"&cFileTMP2"+".PDF ALLOW PRINTING USER_PW "+alltrim(pasw)
tdRunShell("PDFTK.exe",,ukaz,,"min")
Inkey(0.2)

1. name of pasw file must be diferent (FileTmp1 + pasw -> FileTmp2)
2. DONT forget to "ALLOW PRINTING" (if you want printing report)

Miran Zupan

---
Ta e-pošta je bila pregledana z Avast protivirusnim programom.
https://www.avast.com/antivirus
Zupan Miran Re: protect pdf file
on Fri, 29 Jun 2018 12:49:59 +0200
More on
www.pdftk.com


"PDFtk Server is original command-line tool. It is commonly used for server-side processing of PDFs.
It is also used by many PC software publishers to give their products the ability to manipulate PDFs..."

Miran Zupan

---
Ta e-pošta je bila pregledana z Avast protivirusnim programom.
https://www.avast.com/antivirus
Edgar Borger Re: protect pdf file
on Tue, 03 Jul 2018 09:51:48 -0300
you can use the XbpPDF class to do it (and many more things)

Regards,
Edgar

Em 29/06/2018 04:56, Zdenko Bielik escreveu:
> Hi,
> please, how is it possible add password into pdf file?
> 
> TIA & Regards
>                                  Zdeno
> 


Edgar Borger
Softsupply Informatica Ltda.
Rua Alagoas, 48
Sao Paulo, SP
01242-000
Tel   : (5511) 3159-1997
Email : softsupply@terra.com.br