The role of the family and the school in maintaining security