Sadd Ee Jaria
It has to be decided case to case. Some preemptive measures may not result to something harmful but still they can be bad emogh to be considered as sin. The holy prophet has given the criteria to judge a sin. That what irks your heart and you do not like people to know it, is a sin.