Bacteria doesn't contain salt.
with salt
by packing food with a lot of salt, osmosis is being used to keep bacteria out of the food. If bacteria land on food with a high salt content, then the salt will suck moisture out of the bacteria via osmosis and the bacteria will die. This is not true for halophiles (bacteria that tend to enjoy being in high salt content), but it is true for many bacteria. This is why, before a good understanding of micro-organisms was developed, people noticed that food could be preserved with salt and this was known as "curing" the food.
If the salt concentration is high as in mannitol salt agar 7.5% NaCl, this will inhibit the growth of gram positive bacteria.
The salt draws the water out of the bacteria. This causes them to shrivel up and die, literally. This is why people use saline solution on piercings and gargle salt water.
Bacteria dislike high concentrations of salt. There will be an osmotic imbalance. Water will escape the bactrim and enter the saline solution killing the bacteria. Has to be high levels of salt though.
What percentage of salt mixed in water kills bacteria
Purified salt may not be safe to eat because it may have the bacteria of the rock salt on it still. To make it pure you should boil the bacteria off the salt after it has been purified.
1 M salt concentration
Salt prevents the growth of bacteria.
Both will kill bacteria if you add them to water however there are lots of bacteria adapted to live in salt water but I don't know of many adapted to live with chlorine.
If it doesn't kill the bacteria, it at least disables it and prevents it from growing; salt water is hypertonic to the bacteria, i.e. there's greater concentration of solute (salt) outside the cell than inside. When exposed to this, the water inside the bacteria will essentially be sucked out, leaving the bacteria dead, or disabled. Some bacteria, such as the ones that cause a sore throat, can be tackled this way. Others can cope with salty environments, so salt isn't a universal antibacterial substance.
Yes, salt water is not corrosive enough to kill bacteria.