Form Locking

Formatta Designer allows form designers to securely lock forms and automatically verify the veracity of received forms by using banking-strength encryption.  The Lock feature of Formatta Designer prevents unauthorized people from modifying the design of a form (the form layout) - even with another copy of Formatta Designer.  

 

In addition, a form must be locked in order to enable encryption and/or signing of form data by users.  The locking is a 2-step process.  The first phase permits the form author to specify the cryptographic algorithms that will be used with the form.  These preferences determine what encryption method will be used for protecting the layout and user data, and whether the form layout is to be signed with the author's personal certificate.  The second phase is the actual locking of the form and happens when the form is saved to disk from within Formatta Designer: the fixed elements of the form (layout, lock preferences, etc) are hashed, forming the layout hash.  This hash is then optionally signed, then finally encrypted using the specified method.

 

In summary, before a form is published it should always be locked because it:

  1. Prevents unauthorized people from further editing the form layout.

  2. Allows Filler (and Formatta Server) to determine if a form has been tampered with.

  3. Enables encryption and signatures (which are not available otherwise).

  4. Can allow Filler users to certify who authored the form.

 

You can lock a form using Formatta's built-in encryption, or use a digital certificate provided by a certificate authority.  Go to Formatta's website for more information on obtaining a digital certificate.  

Locking With Formatta Encryption

The Formatta Encryption method can be used to encrypt any Field Sets and attachments.  Also, the layout hash is mixed with the author's form password (also referred to as the 'lock' password or master password) hash, rehashed and encrypted with Formatta Encryption.  Because the author's form lock password is the only one which can decrypt this, the form is protected from editing.  In the event someone else duplicated the form, the original author can detect this by attempting to open the form with his form lock password while using Formatta Designer.  If the original form author cannot open the form with his form lock password, then he is not the author, and form counterfeiting or 'spoofing' can be proven beyond a reasonable doubt.  Other cases of tampering can be also be detected by Formatta Filler by recalculating the layout hash and comparing it with the stored one.

 

The form author's password is used by the Diffie-Hellman key exchange to generate the public value that is embedded in the form, and covered by the layout hash.  This public value participates in all encryption actions performed by the users, allowing the form author to decrypt the form without knowing the users' password(s).

Locking With Digital Certificates

When the form author chooses to use a digital certificate for form locking, the keys associated with the digital certificates govern the encryption of the layout hash, Field Sets and attachments.  The layout hash is encrypted with the designer's public key, making it possible for the designer to edit the form and/or unlock it later by supplying the private key.

 

To avoid situations where the private key is damaged or lost and the form would have been rendered unusable, the author is asked to provide a supplemental, or 'backup' password.  This backup password will not participate in user data encryption.  It is required only when the private key is not present on the system and an authorized individual (likely not the original form author) needs to open the form.  The backup password can only be used with Designer.  If the backup password is used to open a locked form, the locking preferences are destroyed, the form is unlocked, and the author is warned to re-lock the form.

 

In a manner similar with Formatta Encryption, the author's certificate is embedded in the form and will participate in all encryption actions concerning user data (Field Sets and attachments), so the form designer will be able to decrypt the form without the need for the users to explicitly designate him as a "recipient".

Using Form Lock in Designer

  1. From the Form Menu, select Lock to display the Lock / Unlock window.

     

     

  2. Select the type of encryption from the dropdown list.

  3. Enter your form password in the Verification Password window.

     

     

Note:  Form Authors can sign blank forms no matter which locking method is used.

Using Formatta Filler with Form Locking

When the form is run in Filler, encryption will differ dependent on the locking method chosen:

 

Note:  Formatta's implementation of encryption via Digital Certificates is N-way symmetric in that both the designer's (or multiple designer's) and user's certificate's private keys can be used to decrypt.

The "Sign with private key of your Signing Certificate" is available no matter which locking method you choose.  It allows the Filler user to view your certificate from the Summary Information dialog, to certify who designed and supplied the form.