Security personnel often work in public building such as museums or art galleries to protect paintings and exhibits by inspecting people and packages entering and leaving the building. In factories, laboratories, government buildings, data processing centers, and military bases security officers protect information, products, computer codes, and defense secrets and check the credentials of people and vehicles entering and leaving the premises.