Oh dear. Well, I suppose that I could dig out one of my old sermons on the general subject of violence. It would be from a Christian point of view, but it is worth noting that similar texts and thinking are found in both Judaic and Muslim scripture and teaching.
First, murder is condemned by all. Take that as it may be. In earlier times, generally capital crimes of this sort were treated by the "eye for an eye" etc. statement. Now not so much; whether this is good or bad is up to the individual and the society to examine.
Second, violence is regarded as being wrong, in general. However, and this is a very important however, it is pardonable provided it is not accompanied by malice. That doesn't make it right, any more than any one of a wide variety of other transgressions are right, but it does make it pardonable. Throughout history all of these major religions have made provision, under this definition, for a person to defend himself or herself or his or her community, should they choose to do so, with the hope of pardon and forgiveness.
What constitutes pardonable defence is very much a sliding scale, with various groups within the major religions having various views and interpretations, ranging from no defence is ever permissible to a pretty loose interpretation.
There is one major point on which there is agreement, though: a decision to forego violence in defence must be personal, and must NOT place any other individual in harm's way. Specifically, an individual's decision to forego violence must never be predicated on an assumption -- either explicit or implicit -- that someone else is going to go out there and protect the individual. The reason for this is that their choice of inaction, and hiding behind the action of another, places that second individual in a position of being harmed, and thus is precisely equal to intentionally harming that second person -- in fact, harming with malice.
All this is not a trivial subject -- and particularly, it is one which is ill-served by selective readings, either of scripture or of any other source.
Frankly, I'm not sure -- now that I've typed this -- that there is much point in my having done so, but I keep some hope that some of the commentators above may read it and think on the complexities, and not become trapped by simplistic answers.
Sincerely, Brother Ian (oB)