To minimize potential risks of harm, a researcher conducting an on-line survey can design the survey so that no direct or indirect identifiers are collected.
This way, there will be little or no risks of harm at all, if there is a survey that is going to eliminate any possibility of collecting either direct or indirect identifiers. Given that eradicating any such risks is the most important thing here, such surveys are a must.