Factors affecting network security