FORUMS PROFESSIONNELS
WINDEV
,
WEBDEV
et
WINDEV Mobile
Accueil
|
Messages récents
|
Connexion
|
Déconnexion
|
Français
Accueil
→
WINDEV 2024
→
protect a PDF (viewing) ?
protect a PDF (viewing) ?
Débuté par Markus R., 30 mai 2018 11:29 - 4 réponses
Connectez-vous…
Markus R.
#1
Posté le 30 mai 2018 - 11:29
Is there any way to protect a pdf document for viewing: to open or view the pdf, the user must enter a password.
any suggestion welcome.
BR
MArkus
Signaler
0
0
Joey Dieleman
#2
Membre enregistré
28 messages
Popularité : +2 (2 votes)
Posté le 05 juin 2018 - 15:42
Hi Markus,
See iParameterPDF.
For example:
iParameterPDF
(
iProtectionComment
+
iProtectionModification
+
iProtectionSelection
,
"MyPassword"
,
iMaximumQuality
)
or
iParameterPDF
(
iProtectionNone
,
"MyPassword"
,
iMaximumQuality
)
I think you need to use it before iDestination, but also set this code before iPrintReport of cource.
Signaler
0
0
Markus R.
#3
Posté le 05 juin 2018 - 21:23
I know this. But there is no way to protect the pdf for viewing. I need to ask a password, each time when the pdf will be open.
Signaler
0
0
Joey Dieleman
#4
Membre enregistré
28 messages
Popularité : +2 (2 votes)
Posté le 06 juin 2018 - 08:35
If you enter the password (in my example at first post "MyPassword" it should ask for a password when opening. I just tried it again with this code:
iParameterPDF
(
iProtectionComment
+
iProtectionModification
+
iProtectionSelection
,
"123"
,
iMaximumQuality
)
Message modifié, 06 juin 2018 - 08:35
Signaler
0
0
Markus R.
#5
Posté le 08 juin 2018 - 12:23
You are absolut right, was my mistake. Thanks again!
Signaler
0
0
→ Revenir à WINDEV 2024
WINDEV 2024
WEBDEV 2024
WINDEV Mobile 2024
WINDEV (précédentes versions)
Français
English
Español
Portuguesa
Fermer cette fenêtre
Type de recherche
Uniquement les sujets
Tous les messages
Période de recherche
Date indifférente
Moins d'une heure
Moins de 24 heures
Moins d'une semaine
Moins d'un mois
Moins d'un an
Annuler
Aperçu de votre message
Ajouter une image
Importer une image depuis une URL
Envoyer une image depuis un fichier de votre disque
Déposez ici un fichier ou cliquez sur "Parcourir..."
ou
Annuler
0%
WLangage
SQL
XML, HTML
JAVA, Javascript
Texte