The "solution" is for the public to learn to stop being victims.
Have the means available to bring instant violent death to those who wish to harm innocents.