Security in factory