A controversial Missouri social networking law banning teachers and students from communicating on-line has been blocked by a judge.