A trap set to detect or deflect attempts to hack a site or system.
In cybersecurity systems, a preemptive measure to assuage the damage an intruder may do upon a system is the honeypot.
In essence, this method is accomplished by the following (albeit humorous) example:
An IT administrator creates a dummy folder named PASSWORDS, which when accessed immediately prevents further access of files from said user account and alerts the administrators of the data server.
Because intruders upon cyber systems are often looking for personal information such as passwords, this colloquially could be seen as a "honeypot" to them. And as such, it is a tempting piece of bait upon which once it is accessed, they are immediately kicked from the system and the issue may be investigated to prevent further intrusions.