Network security starts with
authentication, commonly with a username and a
password. Since this requires just one detail authenticating the user name—i.e., the password—this is sometimes termed one-factor authentication. With
two-factor authentication, something the user 'has' is also used (e.g., a
security token or '
dongle', an
ATM card, or a
mobile phone); and with three-factor authentication, something the user 'is' is also used (e.g., a
fingerprint or
retinal scan). Once authenticated, a
firewall enforces access policies such as what services are allowed to be accessed by the network users. Though effective to prevent unauthorized access, this component may fail to check potentially harmful content such as
computer worms or
Trojans being transmitted over the network.
Anti-virus software or an
intrusion prevention system (IPS) help detect and inhibit the action of such
malware. An
anomaly-based intrusion detection system may also monitor the network like wireshark
traffic and may be logged for audit purposes and for later high-level analysis. Newer systems combining unsupervised
machine learning with full network traffic analysis can detect active network attackers from malicious insiders or targeted external attackers that have compromised a user machine or account. Communication between two hosts using a network may be encrypted to maintain security and privacy.
Honeypots, essentially
decoy network-accessible resources, may be deployed in a network as
surveillance and early-warning tools, as the honeypots are not normally accessed for legitimate purposes. Honeypots are placed at a point in the network where they appear vulnerable and undefended, but they are actually isolated and monitored. Techniques used by the attackers that attempt to compromise these decoy resources are studied during and after an attack to keep an eye on new
exploitation techniques. Such analysis may be used to further tighten security of the actual network being protected by the honeypot. A honeypot can also direct an attacker's attention away from legitimate servers. A honeypot encourages attackers to spend their time and energy on the decoy server while distracting their attention from the data on the real server. Similar to a honeypot, a
honeynet is a network set up with intentional vulnerabilities. Its purpose is also to invite attacks so that the attacker's methods can be studied and that information can be used to increase network security. A honeynet typically contains one or more honeypots. Previous research on network security was mostly about using tools to secure transactions and information flow, and how well users knew about and used these tools. However, more recently, the discussion has expanded to consider
information security in the broader context of the
digital economy and society. This is indicative of network security topics covering not just individual users and tools, but also conversations about the larger culture of information security in our digital world. ==Security management==