Salt is considered antibacterial because it restricts bacterial growth in many foods. It preserves foods by lowering the amount of "free" water molecules in foods. Bacteria need moisture in order to thrive, so without enough "free" water, they cannot grow well in foods that contain salt.
Source: Excerpted from FDA/CFSAN Food Safety A to Z Reference Guide, September 2001