If you prohibit it then it will only be done secretly by governments and then used against naive populations. At least this way the population can learn how to identify and defend against it.
If we had transparent governance then maybe this wouldn't be a problem.