Pilots can carry guns in some instances. Dunn was part of the Federal Flight Deck Officer program, which authorizes flight crew members to use firearms to defend against an act of criminal violence and air piracy while attempting to gain control of an aircraft, according to the Transportation Security Administration.