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

Javascript to disable digital ID

FunkyGoorilla
Registered: Mar 10 2010
Posts: 10
Answered

Hi,

Does anyone know how I can disable the creating a new ID option when a user signs a document? I would like to just set it up so that way they can only select a premade ID and not create a new ID. I am using Acro 9 and Reader 9.

Thanks for any help anyone can provide.

My Product Information:
Acrobat Standard 9.2, Windows
thomp
Expert
Registered: Feb 15 2006
Posts: 4411
What exactly do you mean by "Creating a new ID"? Be more specific.

Thom Parker
The source for PDF Scripting Info
[url=http://www.pdfScripting.com]pdfscripting.com[/url]

The Acrobat JavaScript Reference, Use it Early and Often
[url=http://www.adobe.com/devnet/acrobat/javascript.php]http://www.adobe.com/devnet/acrobat/javascript.php[/url]

Then most important JavaScript Development tool in Acrobat
[url=http://www.pdfscripting.com/public/34.cfm#JSIntro][b]The Console Window (Video tutorial)[/b][/url]
[url=http://www.acrobatusers.com/tutorials/2006/javascript_console][b]The Console Window(article)[/b][/url]

Thom Parker
The source for PDF Scripting Info
www.pdfscripting.com
Very Important - How to Debug Your Script

jimhealy
Team
Registered: Jan 2 2006
Posts: 146
I think he means a new digital ID/cert for signing (which I have no idea how or if you could do that).

Jim Healy
FormRouter, Inc.
Check out our FREE Advanced Acroform Toolset:
http://www.formrouter.com/tools

Jim Healy, Founder & CEO FormRouter Inc.
Chapter Leader AUG RTP NC
http://www.formrouter.com

gkaiseril
Online
Expert
Registered: Feb 23 2006
Posts: 4308
Each user can create a digital ID for signing and certifying PDF files. The data for these ids is stored in a separate data file and this file can be shared or moved to other computers or stored on a USB flash or a network drive.

George Kaiser

jimhealy
Team
Registered: Jan 2 2006
Posts: 146
Are you providing the pre-made ID? Do you have total control over those computers (like on a Windows domain)? If so, maybe you can install the IDs and then maybe George can tell us where that file is and you can lock that file down?

Jim Healy
FormRouter, Inc.
Check out our FREE Advanced Acroform Toolset:
http://www.formrouter.com/tools

Jim Healy, Founder & CEO FormRouter Inc.
Chapter Leader AUG RTP NC
http://www.formrouter.com

gkaiseril
Online
Expert
Registered: Feb 23 2006
Posts: 4308
There is plenty of information at [url=http://www.adobe.com/devnet/acrobat/security.php]Acrobat Developer Security and Digital Signatures[/url] page. [url=http://learn.adobe.com/wiki/download/attachments/52658564/digital_signatures_in_acrobat_9x.pdf?version=1]Digital Signatures in Acrobat[/url] provides information about enterprise environments.

George Kaiser

FunkyGoorilla
Registered: Mar 10 2010
Posts: 10
My plan is to create the IDs before hand, then when the users signs the doc, they drill down to a pre-determined location on a file server and select their assigned ID. The only problem is when the user click the signature field, an option comes up and gives them the option to choose a preselected key, or create a new one. I need them to not be able to create a new one.
FunkyGoorilla
Registered: Mar 10 2010
Posts: 10
I found the answer. If you add this reg key

HKEY_CURRENT_USER\Software\Adobe\Adobe Acrobat\9.0\Security\cPubSec]
"bSelfSignCertGen"=dword:00000000

Then the user cant create a new digital ID, but they can use existing. Thanks for your replies!