Preventing Mass Attacks in Public Spaces