Is there a simple way to make a pdf call home?

Let’s say you release a draft of a paper using PDF. But when people open the paper to read it, you’d like the PDF to check whether there’s a more recent version available. If there is, you’d like it to indicate as much — somewhere. Obviously, you could always include a link that says “For the most current version, go here.” But is there a way to say, “A more recent version of this document is available here.”?

This entry was posted in good code. Bookmark the permalink.

97 Responses to Is there a simple way to make a pdf call home?

  1. David says:


    You can effectively do this (and much more) with Adobe LiveCycle Policy Server.

    It is an enterprise server for rights management, and includes the ability to revoke and replace a document. I can’t tell if it would be a fit for your use case, but let me know if interested and I can get someone to get get details.


  2. You could probably do this with a bit of JavaScript embedded in the PDF, though the only PDF viewer that I know has support for this is Adobe’s. See:

    Scripting Reference

    Scripting Guide

    Unexpected features in Acrobat 7

  3. Alert! Alert! Unauthorized read of outdated version in Section 7-G! Killbots have been dispatched to the document’s location.

  4. Josef Assad says:

    I think this is inadvisable at best.

    Documents should not “call home”; to be very clear, they can’t in fact call home since the document file is content, not computer instructions. The computer instructions are in the viewer.

    So, for your pdf to call home and check for a newer copy, the document would have to contain a section which your viewer identifies as an address where updates might be available, and then to check that address and possibly modify the content based on the location of the address.

    Here’s some reasons why this is a bad idea:
    1. Opening files becomes implicit acts of trust in a URL. I’m opening a file, not checking a web location. It creates incremental layers of vulnerability: instead of having only to worry about whether the document contains a buffer overflow exploit, I have to worry also about whether the response from the site will overflow also.
    2. Assuming that we have decided not to totally distort the handy distinction between documents (content) and viewers (content display tools), then the document would only contain a section with the information concerning where this update is. It would be up to the viewer to do the checking, which means all the pdf viewers out there would have to be modified. Either that or we’d have a few extra steps to encode “safe” pdfs which render fine in “Insta-update-omagic”-enabled viewers. Why the heck would we want to do that? I’m typesetting a book, I don’t want to have to bother with encoding a field for the viewer to be able to call home correctly!
    3. If we’re going to let our pdf call home to check for a new version, then we’re sitting on a nice log of IPs of people who read our pdf. Which is fine if we’re reading “10 good reasons to liberate iraq.pdf”, but not if we’re reading something like “nuclear bomb theory chapter 2: defusing.pdf”. It’s a potential violation of privacy, and it’s a bad idea.
    4. If it becomes a cultural norm for the content consumer to have the option to have a direct back-channel (i.e. to check back for updates) then this reduces the technical obstacles to making this option mandatory (DRM, anyone?). I think that legislation is the correct way to prevent mandatory and pervasive DRM, but if the legislative environment discourages sane prevention of such a scenario then technical obstacles will do.

    If you have a look at the Adobe Livecycle Server product from comments prior to mine, you’ll see an example of where a technology which can call back (the wording there reflects precisely what you want in fact: “version control”) has inevitably led to a broader employment of the capability to back-channel to the content owner/producer. “Audit trails”, “who has viewed and printed a document and when”, “revoke access and usage rights”, etc.

    I understand that, with the fine books you have written you are concerned that your readers access the latest editions. But really, if there’s a link in the document where the reader can check for themselves, the marginal effort isn’t high enough to justify going looking for a way to have your books give you a holler. Mailing lists also make a good idea; maybe just a small textbox here for example or somewhere prominent inside the book.

  5. rich says:

    Low-tech but easy – you can always put a URL at the top of the first page that says “this document may be out of date – to ensure that you have the latest copy click here”.

    Not as elegant as the solution you’re describing, but no policy server required…

  6. anon says:

    What? You would use software that Phones Home?!

    Please don’t.

    (I read pdf files with xpdf or kpdf on Linux.)

  7. Brian Ashenfelter says:

    In short, there is nothing out-of-the-box that PDF or Acrobat provides.

    Yes, you could do this with some embedded JavaScript inside the PDF. However, you won’t be able to have this automatically run when the document is opened – the Acrobat JavaScript spec doesn’t provide a hook for this. It will allow you to run this check automatically when the document is saved, closed or printed but not when it is opened (probably for security reasons). Alternatively, you could have this check be user-initiated by placing a link/button on the first page of the PDF and run the JavaScript from there.

    In any case, the JavaScript that you need will most likely use the SOAP object to talk to your web server to check for a more recent version of the document. All of this assumes you’re using Acrobat as your reader.

  8. Serge Wroclawski says:

    As several other posters have said, you can do this with some Javascript, but the idea that PDF needs Javascript is silly, and the only viewer that seems to support it is Acrobat itself. It’s one of those features that seems useful on the surface, but which many users don’t want. After all, would you want to know each time you read a document someone else writes? It’s a feature that Free Software developers are likely to disable, at least by default.

    So, yes you can do it, but please don’t. 🙂

  9. John Dowdell says:

    David Mendels had the direct info, in the first reply. You can indeed maintain a relationship with the documents you create. Large groups may want to install their own version of Adobe LiveCycle Policy Server, but individuals and ad-hoc groups may prefer to use document relationships as a hosted service:

    This service can make sure all readers are working with the current document, and can also prevent snooping by strangers, or determine which readers can edit or print your document, or incorporate reader comments and synchronize across all your readers, and more. It lets you turn a simple package of digital bits into an ongoing relationship with the author.

    (I think it should also be possible to use the Mozilla SpiderMonkey engine inside the free Adobe Reader to check a server for update info, but I haven’t happened to come across implementations or tutorials myself yet. Noncompliant PDF readers may ignore such instructions, though, so the encryption management of Adobe LiveCycle Policy Server makes sure your private documents remain private.)

    Is there a valid use case for preventing your data from copying by others? I think so… it’s quite similar to the use cases for other publicly available encryption abilities.

    Any particular implementation of rights-management needs to be acceptable to all involved (see the Zune case for unilateral terms causing business problems), but the ability to manage rights for digital data shouldn’t be limited to Big5 Music and other rent-seekers. Agreed…?

    John Dowdell, Adobe Systems

  10. NoWayJose says:

    No Way, Jose!

    I run a firewall and an application called Little Snitch to stop evil people and their applications from “phoning home” without my permission.

    What you’re talking about is creepy and authoritarian.

  11. NoWayJose says:

    Oh, and for all the reasons mentioned by the Adobe guy, I do not have any Adobe Reader software on my computer and only use opensource pdf viewers, and refuse to accept “Adobe only” pdfs.


  12. Kaa says:

    It’s a very bad idea for all the reasons stated above.

    A note on the first page stating that “The current version of this document can be downloaded from ….” is all you need.


  13. “Any particular implementation of rights-management needs to be acceptable to all involved (see the Zune case for unilateral terms causing business problems), but the ability to manage rights for digital data shouldn’t be limited to Big5 Music and other rent-seekers. Agreed…?”

    Not agreed here. True rights are inalienable and not subject to “management”.

  14. lokey says:

    ‘True rights are inalienable and not subject to “management”.’

    this is perfectly acceptable, as long as you will grant that the number of these true, inalienable rights is vanishingly small.

  15. Fiona says:

    Though still in development, and still somewhat theoretical, Herbert Van de Sompel has been working on how to link together all kinds of files and versions so that scholars can track the development of a work, and subsequent links and citations to it.

    I saw him speak at a conference earlier this year, and it’s some truly amazing stuff.

    Might also be applicable in, for example, tracking the uses of Creative Commons works.

    His website and recent presentations are here –

  16. Anonymous says:

    Given Adobe Acrobat {Reader,Pro} (but not necessarily other PDF viewers)

    (1) It is very easy to “annotate” a PDF so that if a user clicks anywhere on content in his display, the viewer will contact an arbitrary URL and even replace the current display with the contents. Of course, you have to provoke that click. You don’t have to make it obvious what will happen, nor do you have to actually change the content on display (whatever the URL yields). Since you *can* download new content, you could just make it so clicking anywhere in the document will download an updated version.

    (2) There are several ways to get Acrobat Reader (and Acrobat Pro) to open a URL on document launch. See this news article…,1895,2016606,00.asp

    and the more technical explanation from the discoverer:

    the first exploit seems to involve deprecated-in-PDF-1.3 /AA keys (I will not explain further) but there are other routes through the maze…

  17. lokey: There are only a few inalienable rights. I wouldn’t say vanishingly few. I’d say that speech is one of them and intellectual property isn’t.

  18. Mr Eye says:

    A tunnel in Switzerland had this sign upon entrance:
    “Warning tunnel ahead, please turn your headlights on.”

    So drivers would do so. Sometime after exiting the tunnel over 10 tourists a day would go on a picnic , have a long lunch and find their batteries dead from having left their lights on.

    If a sign just said “Turn your lights off” was put at the end of the tunnel, it would cause a problem of some people turning off their lights at night.

    A more explicit sign could be done:

    If its daylight and your lights are on, turn them off

    If its dark and your lights are off turn them on.

    If its daylight and your lights are off leave them off.

    If it’s dark and your lights are on leave them on

    Too long and complex.

    The ultimate solution was to put a sign at the end of the tunnel,

    “Are your lights on?”

    with the thought that the drivers could intuit the above conditions from this short question.

    Moral of the story:

    If people really have their lights on, a little reminder may be more effective then a complicated solution.

    -From:are Your Lights on by Don Gause and Gerald Weinberg.

    My take:Kaa’s solution is a good one, all you need do is find the correct phrasing to ask the reader your own version of ” Are your lights on?” (How about “Version X.yy. Click here to check for an updated version”)

  19. As I ωebsitе posѕessor І belіeve
    the cοntent matteг heгe іs rattling wоnԁerful , appreciate it for your efforts.
    You have to keep it up foreѵer! Βest оf luck.

    Look аt my web page – free background check

  20. This is really simple way for create PDF in home, this is a admirable post. Godaddy promo codes

  21. Nice! thank you so much! Thank you for sharing. This is really simple to create PDF in home.Your blog posts are more interesting and informative.

  22. Devayani Kaur says:

    Hello,very amazing This is a Good weblog. I research your weblog site. thank for sharing with us.

  23. Payal Love says:

    Welcome to Tanvi Rai, one of its kind escort service organization. We offer state of the art, secure Noida Escorts services to businessmen, tourists and other local populace in Noida. If you are looking to obtain a hot date, weekend, or night meeting then this is the right rest for you.

  24. Aapkisaheli says:

    I like your website very much thanks for your discuss.all the imformation are useful for me, I will come again.Please examine out here:

  25. Aapkisaheli says:

    Hi – It’s best to comprehend such exciting content. To be sure with much of what is launched here and I’ll be returning. Thanks again for publishing such outstanding studying material!! To get more appropriate information evaluate out here .

  26. Ruhii Sharma says:

    great article .. thankyou for posting…

  27. Ruhii Sharma says:

    Great blog!!! After reading your blog, I found it very informative and useful.. thank you for posting such a nice content.. Keep posting such a good content…

  28. parul sharma says:

    you can make your dream true with hot and sexy girls of our agency. so without wasting your time hire our agency escorts for sensual pleasure and fun.

  29. Tiyaa Club says:

    You Can get help regarding the booking of Chandigarh Escorts, Our Company uses a comprehensive approach to offer Chandigarh Escorts service. Dial 9876990283 to get all detail about our Chandigarh Call Girls service.

  30. Delhi Dating says:

    The explanation behind it since we know as our assurance with our customer.

  31. says:

    In Present time many Antiviruses are available in the market which provides their services at higher prices and their services are not more impressive, so we want to suggest you about the usage of McAfee Antivirus, which is a best-suited antivirus for your system at minimum prices. For more information click here:
    McAfee com activate
    www McAfee com activate
    McAfee support
    McAfee activate

  32. Iti acharya says:

    You can catch her in Kannada, Malayalam and Tamil films. She has also worked on an independent Hindi film. Iti will soon be seeing starring in Bollywood movies.

  33. Whether you are feeling lonely and depressed or stressful you can hire Chennai call girls from a leading escort agency from the comforts of your home or hotel. You can go through the profiles of various call girls and select the one that suits your taste and pocket.

  34. Iti acharya says:

    This is one awesome article. Really Great.
    Iti Acharya

  35. Goa babes says:

    Attempt to call an authentic picture in WhatsApp. a woman could raise you to send her your photographs to shape without question that you simply square measure real, and you’ll bear the cost of her association.
    High Profile Escort in Goa

  36. PhoneSupport Hub A Reliable and Leading IT Company provide support for small business and home users for any kind of computer network problem.

  37. john Adwards says:

    Get FREE account and technical support for your McAfee consumer products and services. Find solutions to top issues online. Live support via chat and phones.
    mcafee activate
    mcafee my account

  38. Pia Trivedi says:

    Escort in Delhi
    Incredible substance material and extraordinary design. Your site merits the majority of the positive input it’s been getting.

  39. McAfee MTP Retailcard – To Install and Activate McAfee Total Protection you always require a 25 digit keycode. So activate product online or call or live chat with Experts.

  40. Brother Printer Support Number is here, if there are issues Problem with the Brother printer like your Brother printer not printing black or incorrect Brother printer installation, your work might get delayed.

  41. – Get total security with McAfee Activate. Learn to redeem license code via McAfee retail card or email. Follow steps to download, install, & Activate McAfee.

  42. includes a wide range of advanced features, and latest technologies. These features will serve you with best practices to boost your professional as well as personal work.

  43. At PhoneSupportHub we have a dedicated team of networking and security professionals who will support you in case the Netgear Router Password is forgotten and has to be reset.

  44. Neha Sharma says:

    Glamadults is a perfect Worldwide Escort Directory . They are having the most adorable independent escort girls and very professional escort provider. Glamadults is the best platform for those who want real escort girls, who are professional at their services and gives them full satisfaction.

  45. Richa Malik says:

    Come and meet top class High Profile Escorts in Delhi models to appreciate and having a genuine wonderful brief time sweetheart prepared to joy you. I am so thankful for your blog article. Truly much obliged! Truly Cool.

  46. rishabh_moguls says:

    Kenya Holiday Resorts – This holiday beach resort in Mombasa Kenya offers a wide range of entertainment options like snooker, theatre, pool activities and gym. The resort is ideal for family holidays. Book online and get up to 25% discount on the official website.

  47. rishabh_moguls says:

    5 star hotels in Leh Ladakh – This is the only Star Luxury Hotel in Leh Ladakh. Avail our special packages and special deals. Book via website for best rates!

  48. I found this post very amazing and knowledgeable. You have very smart mind, and your post seeks my attention. I have never seen such a post and I am very thankful and satisfied with this interesting post.

    Brother Printer Tech Support

  49. You are doing a tremendous job. It is very enlightening and achieves what it desires. I will make sure that I read all of your blogs in future. It will definitively enhance my knowledge.
    connect brother hl-2270dw printer to wifi

  50. rishabh_moguls says:

    Shaantam Resorts & Spa, is a luxury hotels in Rishikesh , Uttarakhand. Book resort rooms directly from our Official Website to get Free WiFi, including Breakfast, Best Offers. Book Online Now!

  51. rishabh_moguls says:

    Hotel the elite grand is an iconic 5 star hotel in OMR Chennai located at Semmencherry, OMR, heart of the IT Corrridor & near beach. PAY ONCE, STAY & AVAIL Free Breakfast & Lunch, High Tea & Dinner, Wifi,4 Pieces Laundry.

  52. Pune Escorts provides escort call girls by the Bed Pari escort agency. We have selected the best high profile call girls in Pune.

  53. The present era is dominated by the internet and the smart phone usage. When your business enterprise lacks the inclusion of a mobile app, it is a major setback. Whether you believe it or not, but not having a mobile app for your business completely rules you out of the competition. In fact, you are cutting out a major path of connecting with your customers and clients.

    Visit: Mobile application development company in India

  54. Factocert says:

    Hi there, just became aware of your blog through Google, and found that it’s really informative
    iso certification in UAE

  55. Jenny Arora says:

    Jenny is a hot North Indian young lady who just as of late moved to Pune. She is a high-vitality young lady who used to be an artist. Presently, she adores being a Pune Escort and meeting individuals from around the globe. Her better half experience is sought after, which might be because of her sensible nature or her breathtaking figure. ,

  56. Jenny Arora says:

    Alina is a bashful beauty with penetrating eyes and a stunning red mouth. She additionally has a petite figure and a sweetheart identity.,

  57. Jenny Arora says:

    Yami is a brassy beauty who wants to have a ton of fun when she’s out with her customers. She has a lighthearted demeanor that is completely infectious.,

  58. Jenny Arora says:

    Liza cherishes being an escort as a result of meeting new individuals. Additionally, it’s a possibility for her to act naturally and find her arousing quality. She has bronze skin, a characteristic bust, and in addition a thin figure. She dresses insufficiently when given the decision and appreciates displaying her body to all who will look at her. She’s a touch of inconvenience, which is exactly what you require.

  59. Jenny Arora says:

    Abhaya is an outright star. She is new to escorting. what’s more, loaded with sex offer. Abhaya can hardly wait to get her hands on you.

  60. rishabh_moguls says:

    Fortune Park Hotel, Haridwar, is a best hotel near Har ki Pauri Haridwar ,bahadrabad, railway station, SIDCUL & National Highway 58. Book from our Brand Website to get Complementary WiFi and BREAKFAST. Book Online Now!

  61. rishabh_moguls says:

    Looking for a best hotels in Kolkata ? Fortune Park Panchwati is a full-service hotel with free Wi-Fi, complimentary breakfast and other services. Book direct for best offers!

  62. joya smith says:

    Your article is very informative and helpful to me. Thank you for the post it’s really intresting.
    kindle technical support

  63. Goa babes says:

    We are a variety of very shocking Goa models, college girls and then housewives who take everything into consideration, Goa Nerul Escorts‘ situation with us to enjoy gentility and then make excellent money.

  64. Diana Smith says:

    Your article is very informative and helpful to me. Thank you for the post it’s really intresting.
    kindle technical support

  65. Best Friend says:

    The most important difference between CBD Isolate and Full Spectrum CBD is that the isolated one is purely CBD. On the other hand, Full Spectrum CBD oil contains little amount of other cannabinoids. In cannabis and other helm plants, cannabinoids are active ingredients. There are more than 60 known cannabinoids, and each of them affects our body in some way or the other.

    Visit: cbd dog treats for joint pain

  66. thanks for sharing such a wonderful information with us ,keep sharing

  67. This is the only Star Luxury Hotel in Leh Ladakh. Avail our special packages and special deals. Book via website for best rates!

  68. Lisa Hester says:

  69. Mygeekshelp says:

    We are a computer repair and it services company located in new york, usa. we do provide support and services for software like gps, antivirus, and printer or router. If you need any help regarding your avast antivirus problems, then you can contact us. We will help you to fix avast antivirus not working issue.

  70. Barbara Gordon says:

    Leucorrhoea: Leucorrhoea also known as the White discharge is a common medical condition where whitish or yellowish discharge comes from the vagina. Get White free an Ayurvedic Medicine for Leucorrhoea or white discharge.

  71. Barbara Gordon says:

    Best child hospital, Yatharth Hospital provides the best possible treatment to infants, children, mothers with the top-notch team of best Pediatrician, Gynecologist and Child Specialist in Noida and Delhi NCR.
    Best Child Hospital in Delhi NCR
    Best Child Specialist in Delhi NCR
    Top Child Hospital in Delhi NCR
    Top Child Specialist in Delhi NCR
    Best Gynacologist in Delhi NCR
    Best Pediatrics in Delhi NCR
    Top Gynacologist in Delhi NCR
    Top Pediatrics in Delhi NCR

  72. jesicasharma says:

    To the amazing
    female models service provider in Independent Amritsar models girls agency in
    Amritsar with a great people, models, stripers. The official opening of the
    time 24/7.

  73. jasmitkaur says:

    Callgirlsuvidha is available for both in/outcall services at low charges. Pune Escorts Service I offer you the unforgettable taste of having sex with me and I am the lady who is hot and narrow hips that will take you from your enjoyable mind. I am an extremely lovely reasonable tall and attractive woman, Pune Call Girls I am enchanting pretty and youthful charming female dating fraternity for noblemen and agents and low maintenance serve who are in scan for consummate better than the average escort I am a very versatile personality that loves to perform with the Pune Female Escorts “Kama sutra” style of lovemaking Boat Club Road Escorts well known and famous Indian style of lovemaking. It is my pleasure to perform and willingness to go for the craziest lovemaking that makes me one of the most in-demand among the who’s who and I welcome you to my website The Best Escorts Agency Of Pune with open hands. Call or Whatsapp you can get my sexy and hot photographs Pune Escorts Agency on Whatsapp before hiring me. You can hire me for short time sex or overnight services, I am experienced horny Russian escort girl available for both incall and outcall locations. So, don’t waste your time dial the above number hurry, I am waiting for your call and messages. Pune Escorts Service Pune Escorts Agency Pune Female Escorts Escorts In Pune पुणे एस्कॉर्ट्स सेवा Pune Escort Pune Call Girls Call Girls In Pune Escort Pune पुणे कॉल गर्ल्स
    cheap rate escorts Pune Call Girls Pcmc Call Girls
    Pcmc Escorts Pune Call Girl पुणे कॉल गर्ल्स Pune Call Girls Service

  74. Sophia Williams says:

    Thanks for taking time to share with us such a great article. I found such a significant number of fascinating stuff with regards to your blog particularly its discussion. keep doing awesome. |

  75. Richard Yatharth says:

    Thanx for such valuable information.The major health problems in India are related to Lungs diseases and disorders such as asthama, bronchitis, tuberculosis and pheumonia. Yatharth hospital the super speciality hospital providing digital OPD via telephonic and videophonic consultation with top doctors online.
    Digital Opd
    Best hospital in delhi ncr
    Best ent doctor in noida
    Super speciality hospital in Noida
    Top ten hospitals in delhi
    Top Lungs and Respiratory Doctors

  76. shalini kapoor says:

    Get professional escort girls in Chandigarh from here at cheap rates. Enjoy your today night with Chandigarh escorts service girl in hotel room or at your apartment.
    Follow us:-

  77. Cachi Rim says:

    Users can connect with the customer care team of QuickBooks Integration service to seek a solution for the issue. A user need not worry about the loss of data due to abort error as data remains safe with QuickBooks auto data recovery feature.
    Visit us:-

  78. Cadda Rim says:

    Quickbooks install services,Quickbooks point of sale,Quickbooks desktop service is a vital investment for the growth of a business. The software makes the tasks of accounting smooth and easy for the users

  79. zoya rim says:

    The Quickbooks accounting software helps the users to manage their business in an easy and Quick way. The User can track their data or can get unlimited mails, but sometimes there may occur some errors like Quickbooks error code 600083
    quickbooks error code 600083
    contact quickbooks
    quickbooks online customer service
    quickbooks help number

  80. joya rim says:

    QuickBooks online customer service allows you to consult your queries effectively. The essential feature of the sync manager is responsible for the automatic synchronization of information with other software. This clearly illustrates that the designing and manufacturing tech company of Intuit is more focused on the windows version of the accounting software
    quickbooks online customer service
    quickbooks online customer service
    quickbooks help number
    contact quickbooks

  81. Excellent information you have shared, thanks for taking the time to share with us such a great article. I really appreciate your work.

  82. Olivia Johan says:

    Great info thanks for sharing! Disposable Vape are perfect for those new to vaping. With an extensive choice of flavours, the disposable e-cig offers an easy to…

  83. McAfee Pro says:

    Mcafee Account Login:
    McAfeepro total protection is a popular product worldwide to secure your computer and mobile devices from viruses and malware protection. Anyone can download the world’s most trusted antivirus from McAfee’s official website and login in a few simple steps. After going through this guide you will be able to configure and login McAfee account for different devices. For more information visit our Website:

Leave a Reply