These forums are now Read Only. If you have an Acrobat question, ask questions and get help from one of our experts.

Setting PDF Expiry Dates

boydroge
Registered: May 28 2007
Posts: 2

I want to be able to send pdf files to a person outside my organisation & have them expire after a specified time (no matter where there filed). Can someone tell me how to do this in very simple, plain English as I know nothing about computers & have tried to find out how to do this on the web only to be baffled by the jargon being used...pls, pls [link=mailto:help [dot] [dot] [dot] rogerjboyd [at] bigpond [dot] com]help [dot] [dot] [dot] rogerjboyd [at] bigpond [dot] com[/link]

My Product Information:
Acrobat Standard 6.0.0, Windows
pddesigner
Registered: Jul 9 2006
Posts: 858
Try this. Click Help, Complete Acrobat Help, type in a search eyword "certificates". Read the instructions on sharing a certificate. You should be able to set an expiration date on the certificate you will use with your document.

You could also set a password to open the document equal to a specific date (example password: June172007). Use an Alert Dialog box to inform the user that a password is required to open the document. Place this JavaScript in the Page Properties, Page Action tab as a trigger when the Page Opens, Select Action, chose Run a JavaScript and enter this code:

app.alert("This document can only be opened with a password. If you do not know the password, please contact [url=mailto:yourname [at] yourISP [dot] com."]yourname [at] yourISP [dot] com."[/url], 1)Use a cover page for this script and place this code on that page.

My favorite quote - "Success is the ability to go from one failure to another with no loss of enthusiasm.

kayee612
Registered: Mar 19 2008
Posts: 2
Do we need to have adobe policy server to apply an expiration date on pdf? I am currently using adobe acrobat professional 7...I read on the instruction but thats no way I can set it...is it different than pro 6...Can you give me a step by step how to set expire date to a pdf?

Many thanks. in advanced.
lkassuba
ExpertTeam
Registered: Jun 28 2007
Posts: 3636
If it's just one (or a few) PDFs you need to set the expiration on, you might try the trial version of Adobe Document Center at:
http://www.adobe.com/products/onlineservices/documentcenter/

Lori Kassuba is an AUC Expert and Community Manager for AcrobatUsers.com.

kayee612
Registered: Mar 19 2008
Posts: 2
Thanks for showing Adobe Doc center

But I want to know if I can set the expire date in using Adobe Arcbat Pro 7, cause our doc is rather sensitive and would like to have it done in offline enviroment.

Many thanks again.
lkassuba
ExpertTeam
Registered: Jun 28 2007
Posts: 3636
Without using a solution like Doc Center it can be difficult to control aspects of security surrounding the PDF. However, you can use Javascript to mimic expiration. There is an example of this at the following URL:
http://www.acumentraining.com/AcumenJournal.php

The Sept. and November 2004 issues have an example of a PDF that renders itself unreadable after a period of time.

Lori Kassuba is an AUC Expert and Community Manager for AcrobatUsers.com.

kcross
Registered: Jun 28 2009
Posts: 2
I was hoping for your help with performing the following as I'm having some troubles trying to set this up.

I have generated a fill-in form in LiveCycle ES 8.2 but would like to set an expiry date for this form and also set user rights. I've started an account in Document Center but do not know how to configure Adobe Acrobat 9 Pro so I can set up and add documents into Document Center to apply these policy rights.

Your heap would be greatly appreciated.

Kind regards
Kylie
lkassuba
ExpertTeam
Registered: Jun 28 2007
Posts: 3636
Hi Kylie,

I hadn't worked with Document Center and Acrobat 9 until you posted your message. It appears that there is an integration with Acrobat 8 (separate menu item) but you can also configure it with Acrobat 9. To do this you'll need to log in to Document Center, click on Document Center Help > Desktop Configuration > Configure Acrobat for Document Center. This will start the process of sending the default policies into Acrobat 9 so you can apply them to your documents. Once they are in Acrobat 9, you can access them from under the Advanced > Security > Manage Security Polices menu.Next, you can create a new policy with expiration rights and users rights for your LiveCycle form in Document Center and all you'll need to do to import the policy into Acrobat 9 is select Refresh in the Manage Security Polices dialog box.

Let me know if you need further details to get this working in A9.

Lori Kassuba is an AUC Expert and Community Manager for AcrobatUsers.com.

kcross
Registered: Jun 28 2009
Posts: 2
Hi Lori,

Thank you for replying that is excellent.

Thanks again,

Cheers
Kylie
olivera
Registered: Jul 16 2009
Posts: 26
Take a look at pdf drm packages like

LockLizard Publisher
PDF Security OwnerGuard
Drm-x
and ...
pp
Registered: Jan 5 2010
Posts: 2
Hi Lori and others,

First of all I like to congratulate on the great work on this site! It is great for lost sheep like me when using PDF software. I have Adobe Acrobat Professional 9 and also the Adobe LiveCycle Designer ES 8.2. but I cant seem to find how to put expiry dates on the documents. Im no computer genius and if possible can u guide me through the steps? I have a lot of documents to set expiry on and cant use the document centre thing. Many thanks in advance
lkassuba
ExpertTeam
Registered: Jun 28 2007
Posts: 3636
Thanks for the kind words about this site. Regarding your question about expiration dates, unfortunately this isn't something you can easily set within Acrobat. You'll need some type of DRM package to do this well. The previous post lists a few you might consider outside of the Adobe Document Center solution.

Lori Kassuba is an AUC Expert and Community Manager for AcrobatUsers.com.

pp
Registered: Jan 5 2010
Posts: 2
wat is a DRM? i really want to learn how to do this. Can u instruct me on how to do it? I dont want to pay for more programmes as I have already paid enough
UVSAR
Expert
Registered: Oct 29 2008
Posts: 1357
DRM is Digital Rights Management, and it's a way for the document to talk to a server and ask permission before doing something (like opening). DRM allows the owner to set expiry dates, control who can open it, and revoke access - but as it needs a server to be running to respond to the questions from the documents, it can't be done with just Acrobat.

Currently there are no free DRM solutions for PDFs, as Adobe Document Center is now out of trial. As DRM is generally something only applied to documents that have a high value, software vendors can charge high fees for their services (as they're basically insuring you against piracy and lost profit).
hokiean
Registered: Feb 1 2010
Posts: 2
Hi guys
I try this JS

if (global.nagCount == null) {
global.nagCount = 0
global.setPersistent("nagCount", true)
}
else {
if (global.nagCount != -1)
global.nagCount++
}

if (global.nagCount > 2)
app.alert("Dokumen ini telah kadaluarsa.\nSilahkan download di www.ContohSkripsi.com.")

switch (global.nagCount) {
case -1:
case 0:
case 1:
case 2:
case 3:
break

case 4:
this.addAnnot({
page: 0,
type: "FreeText",
rect: [ 206, 24, 406, 48 ],
contents: "Dokumen ini telah kadaluarsa.\nSilahkan download di www.ContohSkripsi.com",
fillColor: color.red,
strokeColor: color.transparent,
textSize: 10,
width: 0,
readOnly: true
})
break

case 5:
this.addAnnot({
page: 0,
type: "FreeText",
rect: [ 206, 500, 406, 550 ],
contents: "Dokumen ini telah kadaluarsa.\nSilahkan download di www.ContohSkripsi.com",
fillColor: color.red,
textSize: 10,
width: 0,
readOnly: true
})
break

case 6:
var gigi = this.getField("btnGigi")
var beg = this.getField("txtBeg")

gigi.hidden = false
beg.hidden = false
break

default:
for (i = 0; i < this.numPages; i++) {
this.addAnnot({
page: i,
type: "FreeText",
rect: [ 0, 0, 612, 730 ],
alignment: 1,
contents: "Dokumen ini telah kadaluarsa.\nSilahkan download di www.ContohSkripsi.com",
fillColor: color.white,
textSize: 10,
width: 0,
readOnly: true
})
}
}

But unfortunately only work in one file, when I put in Run JS at another file it can't work
Can somebody help me
Thanks
gkaiseril
Online
Expert
Registered: Feb 23 2006
Posts: 4307
what versions of Acrobat are being used?

Version 8 added some security restrictions. See the Acrobat JS API Reference for more details.

George Kaiser

hokiean
Registered: Feb 1 2010
Posts: 2
Hi gkaiseril
I used PDF Pro ver8, is it work if I use PDF 7 or 6 Pro? (if it work I will downgrade)
Thanks
gopi
Registered: May 13 2010
Posts: 4
this.addAnnot({
page: i,
type: "FreeText",
rect: [ 0, 0, 612, 730 ],
alignment: 1,
contents: "Dokumen ini telah kadaluarsa.\nSilahkan download di www.ContohSkripsi.com",
fillColor: color.white,
textFont: "Arial",
textSize: 10,
width: 0,
readOnly: true
})

The above code is working fine in Acrobat 5.0, but in Acrobat 6.0 and higher versions not getting any errors. The problem is displaying text. it does't take proper font as "Arial", but it substutes another default font, The Arial font is avialble in system's fonts folder also.
can any one help me what wrong in my javascript code?