Feature Request: Secure, blinded email handling for strict ethics compliance in longitudinal runs #663
Replies: 4 comments 5 replies
|
to clarify, you can enable unlinked results before collecting any data. after this is turned on, the study admin can no longer link the PII data to other data (it is randomly ordered, no user codes). however, the data can be used to send and personalize emails. you can also disable display of results. after this is turned, data is still stored, but the study admin cannot view it. you can still use it to send emails. did you previously understand that this is what these features do and describe it like this to your ethics board? I can't tell from your response. |
|
oh and a further request for clarification: you say your ethics board rejects the survey as non-anonymous. does your ethics reject all studies that collect PII? because people can also be identified by age, sex, location etc. this is data we often want to collect and link to research data. so often time guaranteeing full anonymity is not possible anyway while preserving data usefulness. but you can get consent for it. |
|
btw your suggestion for an implementation is sound. it's not a priority for me or any paying users atm, but you could submit a PR? |

Uh oh!
There was an error while loading. Please reload this page.
Problem
To my knowledge Longitudinal studies in
formrcurrently require the run owner to manage email addresses within the R environment (via OpenCPU) to facilitate automated reminders. For researchers operating under strict ethical guidelines, this creates a trust boundary issue.Even if a researcher uses an R script to delete or hash emails after a study concludes, they inherently possess the technical capability to link personally identifiable information (PII) to research data while the run is active. Under this circumstance it is not possible to honestly tell a participant "we CAN NOT match your data to your identity / email / phone". Thus, ethics boards often reject this setup because the run owner controls the execution environment where the data is temporarily linked. Currently, the only workaround is building an external “Data Trustee” server via webhooks, which adds significant overhead and defeats the all-in-one convenience of
formr.Feature Request
Introduce a native, “firewalled” email architecture. The goal is to allow
formrto collect emails and send automated reminders based on session IDs, while making it technically impossible for the run owner (via the R sandbox) to access the plaintext email addresses or the cryptographic keys used to secure them.Possible Solution
Implement a strict separation of concerns between the PHP backend (System Environment) and the OpenCPU sandbox (Run Environment).
formrpackage (e.g.,formr_secure_mail()) to act as a secure trigger.formr_secure_mail(session_id = current_session, template = “wave_2”)TRUE/FALSE) to the R script confirming if the email was dispatched.This architecture ensures the R environment never handles plaintext emails, allowing researchers to credibly guarantee to participant and ethics boards that they have zero technical access to participant PII, while retaining the full power of
formr’s automated run logic.All reactions