What high-level problem are you trying to solve?
When a form is downloaded from the server (ODK Central or KoboToolbox) to a tablet running Collect, the blank form is stored on the device as plain XML. Anyone with physical access to the device can copy that XML off via USB or a file manager and read the full form logic. For organisations that invest heavily in form design, that XML is intellectual property.
Any ideas on how ODK could help you solve it?
The ideal outcome: a form can be transmitted encrypted from the server to the device and remain encrypted and password-protected at rest on the tablet, so that a copy pulled off the device is unreadable without the password.
- Mark a form as "protected" on the server (a setting in Central / the XLSForm settings sheet).
- The form definition is encrypted in transit and stored encrypted in Collect's storage, rather than as plain-text XML.
- Collect decrypts the form into memory only at runtime, gated by a form-level password (entered once per session, or configured via a QR code / managed configuration so enumerators don't handle the password directly).
- A copy of the on-device file is therefore ciphertext and useless without the key.