MICHAEL SALZ 959 days ago
No, you can't prevent someone from opening a PDF file.What you can do, however, is include a warning message of some kind in the file, and the use JS to hide it. So if JS is disabled, the user will see the warning message. You can also use the same method to hide some (or all) of the contents of the page.-------------------------------------Visit my custom-made PDF scripts website: http://try67.blogspot.comContact me personally: email@example.com
Unless you're using Acrobat 9 or earlier, a JS in an AcroForm can't connect to a database. You'll need to use a LiveCycle form for that.
Like I wrote, you can achieve this by placing form fields over your content, and then set them to invisible using a script when the document is opened.Edit: fixed a mistake... I meant invisible, of course.
That's not very feasible in most cases.
Gilad D (try67) Commented 959 days ago | Report
Get started withAcrobat DC
Start free trial
Everything you need to get started using the all-new Acrobat DC.
Learn more >
Last 30 Days