On taking preventive measures for the safety of community residents