. "to such regulations as to the safety of the citizens and security of" . . .