Safety is a feeling that no bad things will happen. Security avoids things to happen that you don't want to. The police keep public safety, which stops crimes happen. Safety hats protect the head from injury. Houses provide safety from the weather.