Barriers for the safety of public spaces