A military defense system used to protect a coastline from attack.