Prefix CodeStarship Prefix Codes
Every Federation starship has its own prefix code. Another ship that enters it can take remote control of systems such as shields and weapons, which lets Starfleet stop a ship that has been seized. Anyone who seizes a ship can defeat this by changing its code, so the codes are closely guarded.
Canon · Star Trek II: The Wrath of Khan; TNG: Unnatural Selection; TNG: The Wounded · Codes, Alerts and Command Procedures